File tree Expand file tree Collapse file tree 5 files changed +23
-8
lines changed
Expand file tree Collapse file tree 5 files changed +23
-8
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ name: "Auto-nightly"
66permissions : {}
77on :
88 push :
9- branches :
10- - " **"
119 paths :
1210 - " LICENSES/**"
1311 - " includes/**"
1715 - " LICENSE*.rst"
1816 - " build.sh"
1917 - " conf-*.sh"
18+ branches :
19+ - " **"
2020 schedule :
2121 # At 03:00 AM, every 6 days (UTC)
2222 - cron : " 0 3 */6 * *"
2525 nightly :
2626 name : " Nightly"
2727 runs-on : ubuntu-latest
28- if : " ${{ github.event_name == 'push' && github.ref_type == 'branch' }}"
28+ if : " ${{ github.event_name == 'push' }}"
2929 concurrency :
3030 group : " ${{ github.repository_id }}-${{ github.workflow }}-nightly"
3131 cancel-in-progress : true
Original file line number Diff line number Diff line change @@ -6,8 +6,13 @@ name: "Code lint"
66permissions : {}
77on :
88 push :
9+ paths :
10+ - " **"
11+ branches :
12+ - " **"
13+ tags :
14+ - " v*"
915 pull_request :
10- workflow_dispatch :
1116jobs :
1217 shellchecker :
1318 name : " ShellChecker"
Original file line number Diff line number Diff line change @@ -6,8 +6,13 @@ name: "Coverage"
66permissions : {}
77on :
88 push :
9+ paths :
10+ - " **"
11+ branches :
12+ - " **"
13+ tags :
14+ - " v*"
915 pull_request :
10- workflow_dispatch :
1116jobs :
1217 base-job :
1318 name : " Base"
7883 test -n '${{ secrets.CODECOV_TOKEN }}' || token_set='false'
7984 printf 'TOKEN_SET=%s\n' "${token_set:?}" 1>> "${GITHUB_OUTPUT?}"
8085 - name : " Upload coverage reports to Codecov"
81- if : " ${{ steps.codecov-token.outputs.TOKEN_SET == 'true' && github.ref == 'refs/heads/main ' && github.event_name != 'pull_request ' }}"
86+ if : " ${{ steps.codecov-token.outputs.TOKEN_SET == 'true' && github.event_name == 'push ' && github.ref == 'refs/heads/main ' }}"
8287 uses : codecov/codecov-action@v5
8388 timeout-minutes : 10
8489 with :
9398 test -n '${{ secrets.CODACY_PROJECT_TOKEN }}' || token_set='false'
9499 printf 'TOKEN_SET=%s\n' "${token_set:?}" 1>> "${GITHUB_OUTPUT?}"
95100 - name : " Upload coverage reports to Codacy"
96- if : " ${{ steps.codacy-token.outputs.TOKEN_SET == 'true' && github.ref == 'refs/heads/main ' && github.event_name != 'pull_request ' }}"
101+ if : " ${{ steps.codacy-token.outputs.TOKEN_SET == 'true' && github.event_name == 'push ' && github.ref == 'refs/heads/main ' }}"
97102 uses : codacy/codacy-coverage-reporter-action@v1
98103 timeout-minutes : 10
99104 with :
Original file line number Diff line number Diff line change 44
55variables :
66 GIT_DEPTH : 1
7+ FF_USE_FASTZIP : true
8+ CACHE_COMPRESSION_LEVEL : " fastest"
9+ ARTIFACT_COMPRESSION_LEVEL : " fastest"
710
811workflow :
912 auto_cancel :
@@ -57,6 +60,7 @@ build-job:
5760 - " LICENSE*.rst"
5861 - " build.sh"
5962 - " conf-*.sh"
63+ - if : $CI_PIPELINE_SOURCE == "schedule" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
6064 script : " BUILD_TYPE='full' './build.sh'"
6165 artifacts :
6266 paths :
Original file line number Diff line number Diff line change @@ -8,11 +8,12 @@ include:
88 # - template: Security/Secret-Detection.gitlab-ci.yml
99
1010sast :
11- cache : []
1211 inherit :
12+ variables : false
1313 default : false
1414
1515# license_scanning:
1616# cache: []
1717# inherit:
18+ # variables: false
1819# default: false
You can’t perform that action at this time.
0 commit comments