summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Gerace <nickagerace@gmail.com>2023-06-12 19:04:13 -0400
committerNick Gerace <nickagerace@gmail.com>2023-06-12 19:04:41 -0400
commit7adc671e6b313224e737cb3ddf6cc2f8e3bcf903 (patch)
treef7adbda8cbaf66c8720f55a252825c4b175dd4f1
parentbbb702d3699361c707a16b547539c2d389f3b78c (diff)
downloadgfold-7adc671e6b313224e737cb3ddf6cc2f8e3bcf903.zip
Only run CI on merge
Signed-off-by: Nick Gerace <nickagerace@gmail.com>
-rw-r--r--.github/workflows/ci.yml13
1 files changed, 2 insertions, 11 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5dfb83b..ddad1a2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,20 +3,11 @@ on:
push:
branches:
- "main"
- pull_request:
- branches:
- - "main"
- paths:
- - "**.rs"
- - "Cargo.*"
- - "*.toml"
- - ".github/workflows/ci.yml"
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
- cancel-in-progress: true
jobs:
ci:
- name: "CI"
+ name: "Post Merge Checks"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -30,4 +21,4 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: xtask
- args: ci \ No newline at end of file
+ args: ci