diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8c082c6..832cf67 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,12 +13,8 @@ name: "CodeQL" on: push: - branches: [ master ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ master ] - schedule: - - cron: '28 21 * * 1' + tags: + - 'v*.*.*' jobs: analyze: diff --git a/.github/workflows/compile-release.yml b/.github/workflows/compile-release.yml index 096878b..86fd251 100644 --- a/.github/workflows/compile-release.yml +++ b/.github/workflows/compile-release.yml @@ -1,9 +1,9 @@ name: C/C++ CI on: - release: - types: # This configuration does not affect the page_build event above - - created + push: + tags: + - 'v*.*.*' jobs: build: