try create PR & autoapprove action (#291)

This commit is contained in:
tonyspumoni
2022-11-18 19:26:47 -07:00
committed by GitHub
parent a8f2155c52
commit d79d84b5f3
2 changed files with 18 additions and 5 deletions
+14
View File
@@ -0,0 +1,14 @@
name: Auto approve
on: pull_request_target
jobs:
auto-approve:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.actor == 'github-actions[bot]'
steps:
- uses: hmarr/auto-approve-action@v3
with:
github-token: ${{ secrets.AUTO_APPROVE_PAT }}
+4 -5
View File
@@ -54,12 +54,11 @@ jobs:
- name: Update Score
run: ./update-score.sh
- name: Commit Score Update
uses: test-room-7/action-update-file@v1
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
file-path: README.md
commit-msg: Update score
github-token: ${{ secrets.GITHUB_TOKEN }}
add-paths: README.md
commit-message: "Update score"
- name: Clean Build
run: make clean