Skip to content

Commit 3c45f1e

Browse files
Copilotnhorton
andcommitted
Comment out example workflow to prevent auto-approval in this repo
Co-authored-by: nhorton <204146+nhorton@users.noreply.github.com>
1 parent b204d62 commit 3c45f1e

1 file changed

Lines changed: 25 additions & 21 deletions

File tree

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
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 ✅'

0 commit comments

Comments
 (0)