Skip to content

GH Actions: auto-remove label tweaks #898

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

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Mar 19, 2025

Description

PR #897 made a change to the "auto remove labels" workflow, but that change couldn't be tested until merged as it used the pull_request_target event, which always reads the workflows from the master branch and not from a PR branch.

I've now tested the change and while the new addition looks to be correct, one of the pre-existing jobs also ran, while it shouldn't have run.

This new commit attempts to fix that.

Again, we can't test this until merged, but will test once it has been merged.

Suggested changelog entry

N/A

PR 897 made a change to the "auto remove labels" workflow, but that change couldn't be tested until merged as it used the `pull_request_target` event, which always reads the workflows from the `master` branch and not from a PR branch.

I've now tested the change and while the _new_ addition looks to be correct, one of the pre-existing jobs _also_ ran, while it shouldn't have run.

This new commit attempts to fix that.

Again, we can't test this until merged, but will test once it has been merged.
@jrfnl jrfnl added this to the 3.12.1 milestone Mar 19, 2025
@jrfnl jrfnl merged commit fa32635 into master Mar 19, 2025
61 checks passed
@jrfnl jrfnl deleted the feature/ghactions-auto-remove-more-tweaks branch March 19, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant