Skip to content
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

Remove on.create Trigger #118

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

CodeGat
Copy link
Member

@CodeGat CodeGat commented Jan 30, 2025

References ACCESS-NRI/model-config-tests#92

Background

We currently have a scenario in configs repositories where we push a branch and open a pull request (quite a common occurence) which is associated with two event triggers: on.create and on.pull_request.types.opened. These are both associated with the same commit.

When the on.pull_request.types.opened event fires, which starts the QA/Repro checks, a check run is generated that contains the test results.

Unfortunately, having multiple event triggers when adding a check run makes the run associated with either the on.create trigger or the on.pull_request trigger, nondeterministically. See https://github.com/orgs/community/discussions/24616. This means that sometimes, in the first commit of a PR, we do not get the results of the QA/Repro checks.

Since the workarounds are quite painful, we are just removing the on.create trigger. This means that it will be a bit more onerous to do the initial release-* branch creation. It is essentially a revert of ACCESS-NRI/model-config-tests#58

@CodeGat CodeGat added the type:infra Relating to CI/CD infrastructure label Jan 30, 2025
@CodeGat CodeGat self-assigned this Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:infra Relating to CI/CD infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant