mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
try create PR & autoapprove action (#291)
This commit is contained in:
@@ -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 }}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user