mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Never skip workflows for explicitly triggered try jobs (#30027)
Do not do the duplicate workflow checks for main workflow jobs triggered by 'issue_comment' GitHub Actions. This prevents try jobs from being skipped. This issue was not detected in my testing, because the main workflow does not run in personal repositories and 'issue_comment' actions cannot be tested from PRs.
This commit is contained in:
parent
a0cbe449a6
commit
4d200084f8
1 changed files with 1 additions and 1 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -50,7 +50,7 @@ jobs:
|
|||
script: |
|
||||
// Never skip workflow runs for pull requests, merge groups, or manually triggered
|
||||
// workfows / try jobs, which might need to actually run / retry WPT tests.
|
||||
if (!['pull_request', 'merge_group', 'workflow_run', 'workflow_call'].includes(context.eventName)) {
|
||||
if (!['issue_comment', 'merge_group', 'pull_request', 'workflow_run', 'workflow_call'].includes(context.eventName)) {
|
||||
// Skip the run if an identical run already exists. This helps to avoid running
|
||||
// the workflow over and over again for the same commit hash.
|
||||
if ((await github.rest.actions.listWorkflowRuns({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue