diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2020-07-12 22:07:38 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2020-07-12 22:07:38 +0200 |
commit | 9e731c9166577c30d878e12d93a94f25ed9ff768 (patch) | |
tree | 1e098d62c32aaa68aadc496e019acb8c136e3fa7 | |
parent | 963d17add2a68428d4e971f04f0fb9b9f3ac1517 (diff) | |
download | curl-mback2k-codeql-action.tar.gz |
workflows: align CodeQL with existing CI actionsmback2k-codeql-action
Update branch filter to avoid duplicate CI runs.
Shorten workflow name due to informative job name.
Closes #5660
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a8329ff7c..fbdcf8a26 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,16 +1,21 @@ -name: "Code scanning - action" +name: CI on: + # Trigger the workflow on push or pull requests, but only for the + # master branch push: + branches: + - master + - '*/ci' pull_request: + branches: + - master schedule: - cron: '0 0 * * 4' jobs: - CodeQL-Build: - + codeql: runs-on: ubuntu-latest - steps: - name: Checkout repository uses: actions/checkout@v2 |