From 4a3f94916b3951c24dbf026eff75476c931a1bd1 Mon Sep 17 00:00:00 2001 From: "Kevin K." Date: Thu, 28 Mar 2024 21:55:56 -0400 Subject: [PATCH 1/3] update delete-tag-and-release action --- .github/workflows/release_nightly.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index 2370bfd..d122562 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -1,7 +1,7 @@ --- on: push: - branches: main + #branches: main name: Nightly Release @@ -58,7 +58,7 @@ jobs: SHA: ${{ steps.short-sha.outputs.sha }} - name: Remove previous Nightly Release - uses: dev-drprasad/delete-tag-and-release@v0.2.0 + uses: dev-drprasad/delete-tag-and-release@v1.0.1 with: delete_release: true tag_name: nightly From 3893f989a6c3ac9024ca1af278bf12c5e1f084a9 Mon Sep 17 00:00:00 2001 From: "Kevin K." Date: Thu, 28 Mar 2024 22:00:23 -0400 Subject: [PATCH 2/3] allow manual nightly release too --- .github/workflows/release_nightly.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index d122562..9df4b7a 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -1,7 +1,8 @@ --- on: push: - #branches: main + branches: main + workflow_call: name: Nightly Release From ad0fadef5ec5786242970a1c21560e54347ec2d0 Mon Sep 17 00:00:00 2001 From: "Kevin K." Date: Thu, 28 Mar 2024 22:05:43 -0400 Subject: [PATCH 3/3] restrict CI to specific path changes --- .github/workflows/ci.yml | 10 +++++++++- .github/workflows/lint.yml | 7 ++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f7e6fe..a5eb2be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,13 @@ --- -on: [push, pull_request] +on: + push: + branches: main + pull_request: + paths: + - src/** + - Cargo.toml + - Cargo.lock + - build.rs name: Continuous Integration diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3a1d645..daa4d15 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,5 +1,10 @@ --- -on: pull_request +on: + pull_request: + paths: + - src/**/*.rs + - build.rs + name: PR Lints jobs: lints: