Skip to content

Commit

Permalink
chore(ci): Workflow trigger changes (#203)
Browse files Browse the repository at this point in the history
## Overview

Alters the workflow triggers such that the `push` trigger only runs when
the PR is merged into `main`, and the `pull_request` trigger is agnostic
to the `type`. This prevents double-runs of CI workflows in the merge
queue / upon PR creation.
  • Loading branch information
clabby authored Jun 3, 2024
1 parent 40603e1 commit b086205
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fpvm_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: FPVM
on:
push:
branches: [main]
merge_group:
pull_request:
types: [opened, reopened]
env:
CARGO_TERM_COLOR: always
jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust_ci.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Rust CI
on:
push:
branches: [main]
merge_group:
pull_request:
types: [opened, reopened]
env:
CARGO_TERM_COLOR: always
jobs:
Expand Down

0 comments on commit b086205

Please sign in to comment.