Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Commit

Permalink
Update github-config to d745358
Browse files Browse the repository at this point in the history
  • Loading branch information
paketo-bot authored and ryanmoran committed Jul 29, 2020
1 parent 4e37f3b commit 3169767
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,23 @@ jobs:
run: ./scripts/integration.sh
env:
GIT_TOKEN: ${{ github.token }}

approve:
name: Auto Approve
runs-on: ubuntu-latest
needs: integration
steps:
- name: Parse Author and Number
id: event
run: |
echo "::set-output name=author::$(jq -r .pull_request.user.login ${{ github.event_path }})"
echo "::set-output name=number::$(jq -r .number ${{ github.event_path }})"
- name: Checkout
uses: actions/checkout@v2
- name: Approve
uses: paketo-buildpacks/github-config/actions/pull-request/approve@master
with:
user: paketo-bot
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
author: ${{ steps.event.outputs.author }}
number: ${{ steps.event.outputs.number }}

0 comments on commit 3169767

Please sign in to comment.