Skip to content

Commit 8b4f45f

Browse files
committed
build: skip for automated PRs and run only when opened
1 parent 7927319 commit 8b4f45f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/check_contributing_guidelines_acceptance.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ on:
4040

4141
# Trigger on pull request events:
4242
pull_request_target:
43-
types: [opened, edited, synchronize, reopened]
43+
types: [opened, reopened]
4444

4545
# Global permissions:
4646
permissions:
@@ -53,15 +53,18 @@ permissions:
5353
# Workflow jobs:
5454
jobs:
5555

56-
# Define a job for checking the contributing guidelines acknowledgment...
56+
# Define a job for checking the contributing guidelines acceptance...
5757
check_acknowledgment:
5858

5959
# Define a display name:
60-
name: 'Check Contributing Guidelines Acknowledgment'
60+
name: 'Check Contributing Guidelines Acceptance'
6161

6262
# Define the type of virtual host machine:
6363
runs-on: ubuntu-latest
6464

65+
# Skip this job for PRs opened by the stdlib-bot:
66+
if: github.event.pull_request.user.login != 'stdlib-bot'
67+
6568
# Define the sequence of job steps...
6669
steps:
6770
# Checkout the repository:

0 commit comments

Comments
 (0)