Skip to content

Commit b37712d

Browse files
committed
swap trigger
1 parent 424f3d2 commit b37712d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/changelog-existence.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
# Checks that a file has been committed under the /.changes directory
33
# as a new CHANGELOG entry. Cannot check for a specific filename as
44
# it is dynamically generated by change type and timestamp.
5-
# This workflow should not require any secrets since it runs for PRs
6-
# from forked repos.
7-
# By default, secrets are not passed to workflows running from
8-
# a forked repo.
5+
# This workflow runs on pull_request_target because it requires
6+
# secrets to post comments.
97

108
# **why?**
119
# Ensure code change gets reflected in the CHANGELOG.
@@ -19,7 +17,7 @@
1917
name: Check Changelog Entry
2018

2119
on:
22-
pull_request:
20+
pull_request_target:
2321
types: [opened, reopened, labeled, unlabeled, synchronize]
2422
workflow_dispatch:
2523

0 commit comments

Comments
 (0)