[ci] update workflows

* disable codeql schdeuled job
* fix abi-checker scheduled job base reference
This commit is contained in:
akallabeth 2024-03-04 13:19:12 +01:00 committed by akallabeth
parent aebe9742e0
commit 4b2e192869
2 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -16,8 +16,6 @@ on:
branches: [ master, stable* ]
pull_request_target:
branches: [ master, stable* ]
schedule:
- cron: '30 2 * * SUN'
permissions:
contents: read