Skip to content

Avoid redundant CI runs in PRs on push#266

Merged
marvinfriede merged 1 commit intomainfrom
ci-update-push
Nov 8, 2024
Merged

Avoid redundant CI runs in PRs on push#266
marvinfriede merged 1 commit intomainfrom
ci-update-push

Conversation

@marvinfriede
Copy link
Copy Markdown
Member

@marvinfriede marvinfriede commented Nov 8, 2024

Currently, CI runs are triggered by push and pull_request, which leads to two runs for every check in a PR. This can be fixed by restricting runs on push only for a push to the main branch, i.e., when merging the PR.

I also added path ignores to avoid code builds for changes in the documentation. However, this feature seems to be buggy atm (actions/runner#2324).

@marvinfriede marvinfriede merged commit 9027795 into main Nov 8, 2024
@marvinfriede marvinfriede deleted the ci-update-push branch November 8, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant