Skip to content

Fix size-label workflow always skipped#395

Open
felix-kaestner wants to merge 1 commit into
mainfrom
fix/size-label
Open

Fix size-label workflow always skipped#395
felix-kaestner wants to merge 1 commit into
mainfrom
fix/size-label

Conversation

@felix-kaestner
Copy link
Copy Markdown
Contributor

Switch from pull_request_target to pull_request event. The author_association field used in the job-level if condition is unreliable in pull_request_target event context, causing the job to be skipped for all PRs.

With pull_request, fork PRs automatically receive a read-only GITHUB_TOKEN that prevents label writes, making the explicit author_association guard unnecessary.

Switch from pull_request_target to pull_request event.
The author_association field used in the job-level if
condition is unreliable in pull_request_target event
context, causing the job to be skipped for all PRs.

With pull_request, fork PRs automatically receive a
read-only GITHUB_TOKEN that prevents label writes,
making the explicit author_association guard unnecessary.

Signed-off-by: Felix Kästner <felix.kaestner@sap.com>
@felix-kaestner felix-kaestner requested a review from a team as a code owner June 2, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant