[ci] update workflows
* disable codeql schdeuled job * fix abi-checker scheduled job base reference
This commit is contained in:
parent
aebe9742e0
commit
4b2e192869
4
.github/workflows/abi-checker.yml
vendored
4
.github/workflows/abi-checker.yml
vendored
@ -90,13 +90,13 @@ jobs:
|
|||||||
chmod +x checker/check-abi
|
chmod +x checker/check-abi
|
||||||
echo "GITHUB_BASE_REF=$GITHUB_BASE_REF"
|
echo "GITHUB_BASE_REF=$GITHUB_BASE_REF"
|
||||||
echo "GITHUB_HEAD_REF=$GITHUB_HEAD_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 "HEAD=$(git rev-parse HEAD)"
|
||||||
echo "remotes=$(git remote -v)"
|
echo "remotes=$(git remote -v)"
|
||||||
|
|
||||||
- name: "Run ABI check..."
|
- name: "Run ABI check..."
|
||||||
env:
|
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: |
|
run: |
|
||||||
echo "BASE_REF=$BASE_REF"
|
echo "BASE_REF=$BASE_REF"
|
||||||
./checker/check-abi -s checker/abi-suppr.txt --parameters="-Cchecker/config-abi.txt" $BASE_REF $(git rev-parse HEAD)
|
./checker/check-abi -s checker/abi-suppr.txt --parameters="-Cchecker/config-abi.txt" $BASE_REF $(git rev-parse HEAD)
|
||||||
|
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@ -16,8 +16,6 @@ on:
|
|||||||
branches: [ master, stable* ]
|
branches: [ master, stable* ]
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
branches: [ master, stable* ]
|
branches: [ master, stable* ]
|
||||||
schedule:
|
|
||||||
- cron: '30 2 * * SUN'
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
Loading…
Reference in New Issue
Block a user