Skip to content

Commit

Permalink
swap trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Aug 21, 2023
1 parent 424f3d2 commit b37712d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/changelog-existence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
# Checks that a file has been committed under the /.changes directory
# as a new CHANGELOG entry. Cannot check for a specific filename as
# it is dynamically generated by change type and timestamp.
# This workflow should not require any secrets since it runs for PRs
# from forked repos.
# By default, secrets are not passed to workflows running from
# a forked repo.
# This workflow runs on pull_request_target because it requires
# secrets to post comments.

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

on:
pull_request:
pull_request_target:
types: [opened, reopened, labeled, unlabeled, synchronize]
workflow_dispatch:

Expand Down

0 comments on commit b37712d

Please sign in to comment.