Skip to content

Commit b02b699

Browse files
authored
Preparation for release 1.7.1 (#4586)
* update: add skip-ci in build * update: add .github/workflows/build.yml in reusable-conditional-skip * fix: skip-ci=false in build
1 parent 9297344 commit b02b699

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@ env:
1818

1919
jobs:
2020
conditional-skip:
21-
uses: ./.github/workflows/reusable-conditional-skip.yml
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Skip tests and build if only skippable files changed
24+
id: maybe-skip-ci
25+
if: ${{ steps.changed-files.outputs.only_changed == 'true' }}
26+
run: |
27+
echo "Skipping tests and build because only skippable files changed"
28+
echo "skip-ci=false" >> $GITHUB_OUTPUT
2229
2330
get-go-version:
2431
# Cascades down to test jobs

.github/workflows/reusable-conditional-skip.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
# for usage, options, and more details on match syntax.
4646
files: |
4747
.github/workflows/reusable-conditional-skip.yml
48+
.github/workflows/build.yml
4849
LICENSE
4950
.copywrite.hcl
5051
.gitignore

0 commit comments

Comments
 (0)