fix: only run on push if workflow has changed
Some checks failed
Build psycopg2 / check-version-exists (push) Successful in 6s
Build psycopg2 / Build wheels on ubuntu-latest (push) Has been cancelled
Build pycairo / Build wheels on ubuntu-latest (push) Has been cancelled
Build pycairo / check-version-exists (push) Has been cancelled

skip ci:
This commit is contained in:
Oskar Manhart 2025-06-12 18:58:12 +02:00
parent 5a3f602505
commit 70847fa3e0
2 changed files with 5 additions and 1 deletions

View file

@ -5,6 +5,8 @@ on:
schedule:
- cron: "0 10 * * 0"
push:
branches: ["main"]
paths: [".forgejo/workflows/psycopg2.yaml"]
env:
REPOSITORY_URL: https://cmwedding-bot:${{ secrets.FORGEJO_TOKEN }}@git.weddingfactory.eu/api/packages/cmwedding/pypi

View file

@ -5,6 +5,8 @@ on:
schedule:
- cron: "0 10 * * 0"
push:
branches: ["main"]
paths: [".forgejo/workflows/pycairo.yaml"]
env:
REPOSITORY_URL: https://cmwedding-bot:${{ secrets.FORGEJO_TOKEN }}@git.weddingfactory.eu/api/packages/cmwedding/pypi
@ -36,7 +38,7 @@ jobs:
os: [ubuntu-latest]
steps:
- run: git clone --depth=1 https://github.com/pygobject/pycairo --branch ${{ needs.check-version-exists.outputs.version }} .
- run: git clone --depth=1 https://github.com/pygobject/pycairo --branch v${{ needs.check-version-exists.outputs.version }} .
- name: Build wheels
uses: https://github.com/pypa/cibuildwheel@v2.23.3