Skip to content

Commit

Permalink
Merge pull request nodejs#1666 from SimenB/remove-approval
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored Mar 11, 2022
2 parents 18f0fd6 + bb096cc commit 3b16574
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 49 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/automatic-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,3 @@ jobs:
delete-branch: true
team-reviewers: |
@nodejs/docker
- name: Check CI status periodically
uses: actions/github-script@v6
with:
script: |
const { default: script } = await import(`${process.env.GITHUB_WORKSPACE}/check-pr-status.mjs`);
await script(github, '${{ github.repository }}', ${{ steps.cpr.outputs.pull-request-number }});
- name: Auto-approve the PR
uses: juliangruber/approve-pull-request-action@v1
with:
# Cannot use `GITHUB_TOKEN` as it's not allowed to approve own PR
github-token: ${{ secrets.GH_API_TOKEN }}
number: ${{ steps.cpr.outputs.pull-request-number }}

- name: Merge PR
uses: juliangruber/merge-pull-request-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
number: ${{ steps.cpr.outputs.pull-request-number }}
29 changes: 0 additions & 29 deletions check-pr-status.mjs

This file was deleted.

0 comments on commit 3b16574

Please sign in to comment.