Skip to content

Conversation

@exoego
Copy link
Contributor

@exoego exoego commented Feb 22, 2023

Purpose

To make CI faster.

Overview

On pull requests, GitHub Actions are executed both on push and pull_request event at this moment.
This is redundant because same CI job is executed twice.
See #94 as example

After this PR, push event is triggered only when main and master branch (when PR is merged).

Checklist

  • Code compiles correctly
  • Created tests which fail without the change (if possible)
  • All tests passing
  • Extended the README / documentation, if necessary

@exoego exoego added the chore non user-facing trivial stuff (CI, refactoring, etc) label Feb 22, 2023
@exoego exoego changed the title CI: "push" event on pull requests are redundant CI: Do not trigger "push" event on pull requests Feb 22, 2023
@exoego exoego marked this pull request as ready for review February 22, 2023 04:51
@exoego exoego requested a review from a team as a code owner February 22, 2023 04:51
@exoego exoego merged commit f935407 into master Feb 22, 2023
@exoego exoego deleted the ci-opt branch February 22, 2023 04:53
@exoego exoego removed the doc label Feb 22, 2023
@exoego exoego mentioned this pull request Feb 22, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore non user-facing trivial stuff (CI, refactoring, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants