From 4b2e192869cc7bb360bd391b17fe830aecb5f53d Mon Sep 17 00:00:00 2001 From: akallabeth Date: Mon, 4 Mar 2024 13:19:12 +0100 Subject: [PATCH] [ci] update workflows * disable codeql schdeuled job * fix abi-checker scheduled job base reference --- .github/workflows/abi-checker.yml | 4 ++-- .github/workflows/codeql-analysis.yml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/abi-checker.yml b/.github/workflows/abi-checker.yml index 62bacaf57..5506f44e2 100644 --- a/.github/workflows/abi-checker.yml +++ b/.github/workflows/abi-checker.yml @@ -90,13 +90,13 @@ jobs: chmod +x checker/check-abi echo "GITHUB_BASE_REF=$GITHUB_BASE_REF" echo "GITHUB_HEAD_REF=$GITHUB_HEAD_REF" - echo "API_BASE_REF=${{ inputs.API_BASE_REF }}" + echo "API_BASE_REF=${{ inputs.API_BASE_REF || '3.0.0' }}" echo "HEAD=$(git rev-parse HEAD)" echo "remotes=$(git remote -v)" - name: "Run ABI check..." env: - BASE_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event_name == 'pull_request_target' && github.event.pull_request.base.sha || inputs.API_BASE_REF }} + BASE_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event_name == 'pull_request_target' && github.event.pull_request.base.sha || github.event_name == 'workflow_dispatch' && inputs.API_BASE_REF || '3.0.0' }} run: | echo "BASE_REF=$BASE_REF" ./checker/check-abi -s checker/abi-suppr.txt --parameters="-Cchecker/config-abi.txt" $BASE_REF $(git rev-parse HEAD) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f6d4960f8..2db775f75 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -16,8 +16,6 @@ on: branches: [ master, stable* ] pull_request_target: branches: [ master, stable* ] - schedule: - - cron: '30 2 * * SUN' permissions: contents: read