diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index 3c1728b37a..8458826569 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -4,15 +4,19 @@ name: Automatically build packages permissions: contents: read on: - push: + # push: + # paths: + # - anda/** + # branches: + # - frawhide + pull_request: paths: - anda/** branches: - frawhide - pull_request: - branches: - - frawhide merge_group: + paths: + - anda/** branches: - frawhide workflow_dispatch: @@ -44,6 +48,14 @@ jobs: packages: ${{ needs.manifest.outputs.build_matrix }} publish: ${{ github.event_name == 'push' }} + automerge: + needs: build + runs-on: ubuntu-24.04-arm + steps: + - name: Merge PR on Success Build + if: github.event.pull_request.commits == 1 && github.event.pull_request.user.login == 'raboneko' + run: gh pr merge ${{ github.event.number }} --admin --squash + appstream: needs: build runs-on: ubuntu-latest