Skip to content

[main] Fix(ci): correct label gate condition to use event.action instead of event_name#3809

Merged
prkalle merged 1 commit into
cloudfoundry:mainfrom
prkalle:fix/ci_getsha_skip
Jun 22, 2026
Merged

[main] Fix(ci): correct label gate condition to use event.action instead of event_name#3809
prkalle merged 1 commit into
cloudfoundry:mainfrom
prkalle:fix/ci_getsha_skip

Conversation

@prkalle

@prkalle prkalle commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Description of the Change

This PR fixes the label gate condition to use github.event.action instead of github.event_name.

Why Is This PR Valuable?

Applicable Issues

List any applicable GitHub Issues here

How Urgent Is The Change?

Fairly urgent to fix CI

Other Relevant Parties

Who else is affected by the change?

…event_name

github.event_name is always 'pull_request_target' for all PR trigger
types. The action type (labeled, synchronize, etc.) is exposed via
github.event.action, so the safe-to-test label check was never
evaluating to true

Signed-off-by: Prem Kumar Kalle <prem.kalle@broadcom.com>
@prkalle prkalle force-pushed the fix/ci_getsha_skip branch from 43dffbd to f1b9257 Compare June 22, 2026 23:17
@prkalle prkalle marked this pull request as ready for review June 22, 2026 23:17
@prkalle prkalle merged commit 31ccf08 into cloudfoundry:main Jun 22, 2026
15 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants