From cf94629e4f5e7b3e2635713279234af85c50ba61 Mon Sep 17 00:00:00 2001 From: Michael Sverdlov Date: Sun, 21 May 2023 17:36:42 +0300 Subject: [PATCH] Avoid running tests and static analysis on tags (#165) --- .github/workflows/analysis.yml | 6 +++++- .github/workflows/test.yml | 7 +++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 11d49909..42da97d8 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -1,5 +1,9 @@ name: "Static Analysis" -on: [ "push", "pull_request" ] +on: + push: + tags-ignore: + - '**' + pull_request: jobs: Static-Check: runs-on: ubuntu-latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 63385212..8d61e31e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,9 @@ name: Tests - -on: [ push, pull_request ] +on: + push: + tags-ignore: + - '**' + pull_request: # Ensures that only the latest commit is running for each PR at a time. # Ignores this rule for push events. concurrency: