File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,19 +11,6 @@ concurrency:
1111 cancel-in-progress : true
1212
1313jobs :
14- lint-metadata :
15- name : Arduino Lint
16- runs-on : ubuntu-latest
17- steps :
18- - name : Checkout
19- uses : actions/checkout@v4
20-
21- - name : Arduino Lint
22- uses : arduino/arduino-lint-action@v1
23- with :
24- library-manager : false
25- project-type : library
26-
2714 build-examples :
2815 runs-on : ubuntu-latest
2916 strategy :
Original file line number Diff line number Diff line change 1+ name : Lint (Advisory)
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - main
8+ - feature/**
9+
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ metadata_lint :
15+ name : Metadata Lint (advisory)
16+ runs-on : ubuntu-latest
17+ continue-on-error : true
18+ steps :
19+ - name : Checkout repository
20+ uses : actions/checkout@v4
21+
22+ - name : Arduino Lint
23+ uses : arduino/arduino-lint-action@v1
24+ with :
25+ library-manager : false
26+ project-type : library
Original file line number Diff line number Diff line change 1111 permissions :
1212 contents : write
1313 steps :
14- - name : Checkout
14+ - name : Checkout repository (attempt 1)
15+ id : checkout_attempt_1
16+ continue-on-error : true
17+ uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
20+
21+ - name : Checkout repository (attempt 2)
22+ id : checkout_attempt_2
23+ if : ${{ steps.checkout_attempt_1.outcome == 'failure' }}
24+ continue-on-error : true
25+ uses : actions/checkout@v4
26+ with :
27+ fetch-depth : 0
28+
29+ - name : Checkout repository (attempt 3)
30+ if : ${{ steps.checkout_attempt_1.outcome == 'failure' && steps.checkout_attempt_2.outcome == 'failure' }}
1531 uses : actions/checkout@v4
1632 with :
1733 fetch-depth : 0
3248 uses : softprops/action-gh-release@v2
3349 with :
3450 draft : false
35- prerelease : false
51+ prerelease : ${{ contains(github.ref_name, '-') }}
3652 generate_release_notes : false
3753 body_path : release-changelog.md
3854 env :
You can’t perform that action at this time.
0 commit comments