File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 - run : git fetch --depth=1 origin +refs/tags/*:refs/tags/* || true
2020 - name : Run Integration Tests
2121 run : ./scripts/integration.sh
22+
23+ approve :
24+ name : Auto Approve
25+ runs-on : ubuntu-latest
26+ needs : integration
27+ steps :
28+ - name : Parse Author and Number
29+ id : event
30+ run : |
31+ echo "::set-output name=author::$(jq -r .pull_request.user.login ${{ github.event_path }})"
32+ echo "::set-output name=number::$(jq -r .number ${{ github.event_path }})"
33+ - name : Checkout
34+ uses : actions/checkout@v2
35+ - name : Approve
36+ uses : paketo-buildpacks/github-config/actions/pull-request/approve@master
37+ with :
38+ user : paketo-bot
39+ token : ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
40+ author : ${{ steps.event.outputs.author }}
41+ number : ${{ steps.event.outputs.number }}
You can’t perform that action at this time.
0 commit comments