File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Example Auto-Approve Workflow
1+ # Example Auto-Approve Workflow
2+ # This is a reference example - it is commented out to prevent the action from
3+ # running in this repository. Copy and uncomment in your own repository to use.
24
3- on :
4- pull_request :
5- types : [opened, synchronize, reopened]
6-
7- jobs :
8- auto-approve :
9- runs-on : ubuntu-latest
10- permissions :
11- pull-requests : write
12-
13- steps :
14- - name : Checkout code
15- uses : actions/checkout@v4
16-
17- - name : Auto-approve PR
18- uses : Unsupervisedcom/autoapprove_action@v1
19- with :
20- github-token : ${{ secrets.GITHUB_TOKEN }}
21- patterns-file : ' .github/autoapprove-patterns.txt'
22- approval-message : ' Auto-approved: all changes match allowed patterns ✅'
5+ # name: Example Auto-Approve Workflow
6+ #
7+ # on:
8+ # pull_request:
9+ # types: [opened, synchronize, reopened]
10+ #
11+ # jobs:
12+ # auto-approve:
13+ # runs-on: ubuntu-latest
14+ # permissions:
15+ # pull-requests: write
16+ #
17+ # steps:
18+ # - name: Checkout code
19+ # uses: actions/checkout@v4
20+ #
21+ # - name: Auto-approve PR
22+ # uses: Unsupervisedcom/autoapprove_action@v1
23+ # with:
24+ # github-token: ${{ secrets.GITHUB_TOKEN }}
25+ # patterns-file: '.github/autoapprove-patterns.txt'
26+ # approval-message: 'Auto-approved: all changes match allowed patterns ✅'
You can’t perform that action at this time.
0 commit comments