Skip to content

Commit

Permalink
Merge pull request #37 from release-engineering/autoapprove
Browse files Browse the repository at this point in the history
Automatically approve the chore deps if CI passess
  • Loading branch information
JAVGan authored Aug 22, 2024
2 parents 39eb56b + b4dc74d commit fbf9bb6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pip-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,19 @@ jobs:
This change will be submitted automatically within a few days if all checks have
succeeded.'

- name: Look up pull request
uses: juliangruber/find-pull-request-action@v1
id: find-pull-request
with:
branch: deps/pip-compile

# Immediately approve it if we can so it can be merged later
- name: Approve Pull Request
uses: juliangruber/approve-pull-request-action@v1
with:
github-token: ${{ secrets.APPROVAL_TOKEN }}
number: ${{ steps.find-pull-request.outputs.number }}
# allow errors because token may be unset.
continue-on-error: true
if: ${{ steps.find-pull-request.outputs.number }}

0 comments on commit fbf9bb6

Please sign in to comment.