-
Notifications
You must be signed in to change notification settings - Fork 0
ci: disable automatic workflow triggers, add workflow_dispatch #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,6 @@ | ||
| name: cleanup caches by a branch | ||
| on: | ||
| pull_request: | ||
| types: | ||
| - closed | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| cleanup: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,6 @@ | ||
| on: | ||
| workflow_dispatch: | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 cleanup-report.yml: When triggered via Prompt for agentsWas this helpful? React with 👍 or 👎 to provide feedback.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. By design — this PR deliberately disables all automatic triggers to reduce Actions spend. The |
||
| workflow_call: | ||
| pull_request: | ||
| types: [closed] | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 delete-blacksmith-cache.yml: The (Refers to line 22) Prompt for agentsWas this helpful? React with 👍 or 👎 to provide feedback.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. By design — this PR deliberately disables all automatic triggers to reduce Actions spend. The dead |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,7 @@ | ||
| name: Run CI | ||
|
|
||
| on: | ||
| pull_request_target: | ||
| types: [labeled] | ||
| workflow_dispatch: | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 run-ci.yml: Job condition always false on The trigger was changed from Prompt for agentsWas this helpful? React with 👍 or 👎 to provide feedback.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. By design — this PR deliberately disables all automatic triggers to reduce Actions spend. The |
||
|
|
||
| permissions: | ||
| actions: write | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 cache-clean.yml:
github.event.pull_request.numberis empty onworkflow_dispatch, producing malformed branch refThe
BRANCHvariable is set torefs/pull/${{ github.event.pull_request.number }}/merge(line 17). With the trigger changed frompull_request: types: [closed]toworkflow_dispatch,github.event.pull_request.numberis undefined/empty, producing the malformed branch referencerefs/pull//merge. The subsequentgh actions-cache listandgh actions-cache deletecommands will find no caches matching this invalid reference, making the entire cleanup workflow a silent no-op.Prompt for agents
Was this helpful? React with 👍 or 👎 to provide feedback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By design — this PR deliberately disables all automatic triggers to reduce Actions spend. The dead PR context references are expected since the workflow is no longer auto-triggered on PR events.