Skip to content

Commit

Permalink
Add workflow_dispatch as trigger for PR validation action
Browse files Browse the repository at this point in the history
Cannon pointed out this lets us re-run the action after linking an issue,
since there's no trigger for "connected" and "disconnected" events. Best
thing to do is still to link issues before the PR is officially opened, but
that shouldn't be the only way to do things!
  • Loading branch information
jhiemstrawisc committed Dec 10, 2024
1 parent 9d307ab commit 81e5bc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/enforce-PR-labelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
# one limitation here is that there's no trigger to re-run any time we "connect" or "disconnect" an issue
types: [opened, edited, labeled, unlabeled, synchronize]
workflow_dispatch:

jobs:
validate-pr:
Expand Down

0 comments on commit 81e5bc6

Please sign in to comment.