diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index c8c6c120fe..73bfa7df54 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -2,13 +2,13 @@ # generate a new workflow for each folder in anda/ name: Automatically build packages on: - push: paths: - anda/** branches: - main workflow_dispatch: + workflow_call: jobs: manifest: diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index f5641966ea..7fddcb581d 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -8,7 +8,7 @@ on: workflow_dispatch: jobs: - get-chkupdate-scripts: + autoupdate: runs-on: ubuntu-latest container: image: registry.fedoraproject.org/fedora:37 @@ -32,4 +32,9 @@ jobs: git config user.email "<>" git commit -a -m "Automatic Update" git push -u origin main + echo "updated=1" > $GITHUB_ENV fi + + - name: Autobuild + if: ${{ steps.save.outputs.updated }} + uses: terrapkg/packages/.github/workflows/autobuild.yml@manifest