File tree Expand file tree Collapse file tree 6 files changed +50
-19
lines changed
Expand file tree Collapse file tree 6 files changed +50
-19
lines changed Original file line number Diff line number Diff line change 1- name : " ci "
1+ name : " CI "
22
33on :
44 pull_request :
55 branches :
66 - " main"
77 workflow_dispatch :
8-
8+
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : true
12+
913jobs :
1014 Spec :
1115 uses : " puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
1721 secrets : " inherit"
1822 with :
1923 runs_on : ubuntu-20.04
24+ kernel_modules : false
25+ disable_apparmor : true
Original file line number Diff line number Diff line change 1414
1515jobs :
1616 label :
17- runs-on : ubuntu-latest
18- steps :
19-
20- - uses : puppetlabs/community-labeller@v1.0.1
21- name : Label issues or pull requests
22- with :
23- label_name : community
24- label_color : ' 5319e7'
25- org_membership : puppetlabs
26- fail_if_member : ' true'
27- token : ${{ secrets.IAC_COMMUNITY_LABELER }}
17+ if : contains(fromJson('["puppetlabs", "puppet-toy-chest"]'), github.repository_owner)
18+ uses : " puppetlabs/cat-github-actions/.github/workflows/labeller.yml@main"
19+ secrets : inherit
Original file line number Diff line number Diff line change 1414 needs : Spec
1515 uses : " puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main"
1616 secrets : " inherit"
17+ with :
18+ runs_on : ubuntu-20.04
19+ kernel_modules : false
20+ disable_apparmor : true
Original file line number Diff line number Diff line change 11name : " Publish module"
2+ run-name : >
3+ ${{ format('tag={0}', inputs.tag) }}
4+ ${{ format('release={0}', inputs.release) }}
5+ ${{ format('publish={0}', inputs.publish) }}
6+ ${{ format('edit={0}', inputs.edit) }}
27
38on :
49 workflow_dispatch :
5-
10+ inputs :
11+ tag :
12+ description : " Leave blank to tag HEAD of branch, or existing tag to edit"
13+ default : ' '
14+ type : string
15+ release :
16+ description : " Create a Github release"
17+ type : boolean
18+ default : true
19+ publish :
20+ description : " Publish to the Forge"
21+ type : boolean
22+ default : true
23+ edit :
24+ description : " Regenerate release notes and existing tag"
25+ default : false
26+ type : boolean
27+
628jobs :
7- release :
29+ release :
830 uses : " puppetlabs/cat-github-actions/.github/workflows/module_release.yml@main"
931 secrets : " inherit"
32+ with :
33+ tag : ${{ inputs.tag }}
34+ release : ${{ inputs.release }}
35+ publish : ${{ inputs.publish }}
36+ edit : ${{ inputs.edit }}
Original file line number Diff line number Diff line change 11name : " Release Prep"
2+ run-name : >
3+ version=${{ inputs.version }}
24
35on :
46 workflow_dispatch :
1113 release_prep :
1214 uses : " puppetlabs/cat-github-actions/.github/workflows/module_release_prep.yml@main"
1315 with :
14- version : " ${{ github.event. inputs.version }}"
16+ version : " ${{ inputs.version }}"
1517 secrets : " inherit"
Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ spec/spec_helper.rb:
1111.github/workflows/ci.yml :
1212 unmanaged : true
1313.github/workflows/nightly.yml :
14- unmanaged : false
14+ unmanaged : true
1515.github/workflows/release_prep.yml :
16- unmanaged : false
16+ unmanaged : true
1717.github/workflows/release.yml :
18- unmanaged : false
18+ unmanaged : true
1919
2020Rakefile :
2121 changelog_since_tag : ' v11.0.3'
You can’t perform that action at this time.
0 commit comments