diff --git a/.github/workflows/pull-request-automation.yaml b/.github/workflows/pull-request-automation.yaml index 4b5e73fa..91a3fe32 100644 --- a/.github/workflows/pull-request-automation.yaml +++ b/.github/workflows/pull-request-automation.yaml @@ -38,9 +38,9 @@ jobs: }) if: |- startsWith(github.head_ref, 'ghci/audit/') - && (github.event.pull_request.user.login == 'ghci-test[bot]' - || github.event.pull_request.user.login == 'ghci-int[bot]' - || github.event.pull_request.user.login == 'ghci[bot]') + && (github.event.pull_request.user.login == 'geo-ghci-test[bot]' + || github.event.pull_request.user.login == 'geo-ghci-int[bot]' + || github.event.pull_request.user.login == 'geo-ghci[bot]') && (github.event.action == 'opened' || github.event.action == 'reopened') - name: Auto reviews Renovate updates @@ -57,32 +57,3 @@ jobs: github.event.pull_request.user.login == 'renovate[bot]' && (github.event.action == 'opened' || github.event.action == 'reopened') - - name: Auto review and merge dpkg updates - uses: actions/github-script@v7 - with: - script: |- - github.rest.pulls.createReview({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: context.payload.pull_request.number, - event: 'APPROVE', - }); - github.graphql(` - mutation { - enablePullRequestAutoMerge(input: { - pullRequestId: "${context.payload.pull_request.node_id}", - mergeMethod: SQUASH, - }) { - pullRequest { - autoMergeRequest { - enabledAt - } - } - } - } - `) - if: |- - github.event.pull_request.user.login == 'sbrunner' - && startsWith(github.head_ref, 'dpkg-update/') - && (github.event.action == 'opened' - || github.event.action == 'reopened')