Skip to content

Commit

Permalink
Create BuildAutomation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
OnestarLee committed Sep 25, 2024
1 parent a38605c commit eea27e0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/BuildAutomation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Approve by automation

on:
pull_request:
types: [opened, reopened]
jobs:
approve-pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'approve a pull request'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr review ${{ github.event.pull_request.number }} --approve --body "approved by automation"

0 comments on commit eea27e0

Please sign in to comment.