Skip to content

Skip newsfragment check on label events to avoid approval requirement#64901

Merged
potiuk merged 1 commit intoapache:mainfrom
potiuk:skip-newsfragment-on-label-events
Apr 8, 2026
Merged

Skip newsfragment check on label events to avoid approval requirement#64901
potiuk merged 1 commit intoapache:mainfrom
potiuk:skip-newsfragment-on-label-events

Conversation

@potiuk
Copy link
Copy Markdown
Member

@potiuk potiuk commented Apr 8, 2026

Remove labeled and unlabeled event types from the newsfragment PR number
check workflow trigger. When boring-cyborg bot adds labels to PRs, it triggers
this workflow which then requires manual approval to run — adding unnecessary
noise. Since the newsfragment check only needs to run on actual code changes
(opened, reopened, synchronize), removing label events avoids these unnecessary
workflow runs.

The skip newsfragment check label still works as before — it's evaluated
at job level via the existing if condition, which runs on the remaining
event types.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Claude Opus 4.6)

Generated-by: Claude Code (Claude Opus 4.6) following the guidelines

The `labeled`/`unlabeled` event types triggered this workflow when
boring-cyborg bot added labels, which required manual approval to run.
Since this check only needs to run on code changes (opened, reopened,
synchronize), removing the label event types avoids unnecessary workflow
runs that need approval.
@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch labels Apr 8, 2026
@potiuk potiuk merged commit 40902de into apache:main Apr 8, 2026
117 of 118 checks passed
@potiuk potiuk deleted the skip-newsfragment-on-label-events branch April 8, 2026 12:46
github-actions bot pushed a commit that referenced this pull request Apr 8, 2026
… requirement (#64901)

The `labeled`/`unlabeled` event types triggered this workflow when
boring-cyborg bot added labels, which required manual approval to run.
Since this check only needs to run on code changes (opened, reopened,
synchronize), removing the label event types avoids unnecessary workflow
runs that need approval.
(cherry picked from commit 40902de)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Backport successfully created: v3-2-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-2-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Apr 8, 2026
… requirement (apache#64901)

The `labeled`/`unlabeled` event types triggered this workflow when
boring-cyborg bot added labels, which required manual approval to run.
Since this check only needs to run on code changes (opened, reopened,
synchronize), removing the label event types avoids unnecessary workflow
runs that need approval.
(cherry picked from commit 40902de)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
potiuk added a commit that referenced this pull request Apr 8, 2026
… requirement (#64901)

The `labeled`/`unlabeled` event types triggered this workflow when
boring-cyborg bot added labels, which required manual approval to run.
Since this check only needs to run on code changes (opened, reopened,
synchronize), removing the label event types avoids unnecessary workflow
runs that need approval.
(cherry picked from commit 40902de)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
potiuk added a commit that referenced this pull request Apr 8, 2026
… requirement (#64901) (#64903)

The `labeled`/`unlabeled` event types triggered this workflow when
boring-cyborg bot added labels, which required manual approval to run.
Since this check only needs to run on code changes (opened, reopened,
synchronize), removing the label event types avoids unnecessary workflow
runs that need approval.
(cherry picked from commit 40902de)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants