From 89ab4bcd64df5f569c654e85e5d8b7c73ed9ca90 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Mon, 15 Nov 2021 01:00:45 +0100 Subject: [PATCH] Disable running CI tests on tag At least I hope. According to GitHub Docs [1]: > If you define only `tags` or only `branches`, the workflow won't run for > events affecting the undefined Git ref. [1]: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#onpushpull_requestbranchestags --- .github/workflows/lint.yml | 4 ++++ .github/workflows/tests.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 54c49b8f1..99b4f7f98 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,6 +2,10 @@ name: Lint on: push: + # This should disable running the workflow on tags, according to the + # on.. GitHub Actions docs. + branches: + - "*" pull_request: jobs: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 55b164559..e7f42ecc0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,6 +2,10 @@ name: Tests on: push: + # This should disable running the workflow on tags, according to the + # on.. GitHub Actions docs. + branches: + - "*" pull_request: jobs: -- 2.47.2