You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, you can merge a PR without having the correct branch references in action/worfklow references, and Validate GitHub Actions Refs won't prevent this, if the target branch's name is a substring of the source branch (e.g. the target is task/gha-refs-validate-without-merge-queue and the source is task/gha-refs-validate-without-merge-queue-test-pr). This is most possibly due to using a pattern instead of an exact match.
This should be changed so the exact branch references are enforced.
This is not a huge issue currently, because the only branch we have it guarding is dev, and source branches will never be dev*.
github-actionsbot
changed the title
Make GHA refs validation check the whole branch name
Make GHA refs validation check the whole branch name (OSOE-814)
Feb 14, 2024
Currently, you can merge a PR without having the correct branch references in action/worfklow references, and Validate GitHub Actions Refs won't prevent this, if the target branch's name is a substring of the source branch (e.g. the target is
task/gha-refs-validate-without-merge-queue
and the source istask/gha-refs-validate-without-merge-queue-test-pr
). This is most possibly due to using a pattern instead of an exact match.This should be changed so the exact branch references are enforced.
This is not a huge issue currently, because the only branch we have it guarding is
dev
, and source branches will never bedev*
.Jira issue
The text was updated successfully, but these errors were encountered: