We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16ef3d9 commit aed9339Copy full SHA for aed9339
1 file changed
.github/workflows/test-pull-request.yml
@@ -35,3 +35,23 @@ jobs:
35
run: ./scripts/integration.sh
36
env:
37
GIT_TOKEN: ${{ github.token }}
38
+
39
+ approve:
40
+ name: Auto Approve
41
+ runs-on: ubuntu-latest
42
+ needs: integration
43
+ steps:
44
+ - name: Parse Author and Number
45
+ id: event
46
+ run: |
47
+ echo "::set-output name=author::$(jq -r .pull_request.user.login ${{ github.event_path }})"
48
+ echo "::set-output name=number::$(jq -r .number ${{ github.event_path }})"
49
+ - name: Checkout
50
+ uses: actions/checkout@v2
51
+ - name: Approve
52
+ uses: paketo-buildpacks/github-config/actions/pull-request/approve@master
53
+ with:
54
+ user: paketo-bot
55
+ token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
56
+ author: ${{ steps.event.outputs.author }}
57
+ number: ${{ steps.event.outputs.number }}
0 commit comments