File tree Expand file tree Collapse file tree 7 files changed +53
-36
lines changed
Expand file tree Collapse file tree 7 files changed +53
-36
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 :
11- uses : " puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main "
15+ uses : " puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@forked-modules "
1216 secrets : " inherit"
1317
1418 Acceptance :
1519 needs : Spec
16- uses : " puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main "
20+ uses : " puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@forked-modules "
1721 secrets : " inherit"
18- with :
19- runs_on : ubuntu-20.04
Original file line number Diff line number Diff line change @@ -2,26 +2,12 @@ name: Labeller
22
33on :
44 issues :
5- types :
6- - opened
7- - labeled
8- - unlabeled
5+ types : [ opened, reopened, labeled, unlabeled ]
96 pull_request_target :
10- types :
11- - opened
12- - labeled
13- - unlabeled
7+ types : [ opened, reopened, labeled, unlabeled ]
148
159jobs :
1610 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 }}
11+ if : contains(fromJson('["puppetlabs", "puppet-toy-chest"]'), github.repository_owner)
12+ uses : " puppetlabs/cat-github-actions/.github/workflows/labeller.yml@forked-modules"
13+ secrets : inherit
Original file line number Diff line number Diff line change 1212jobs :
1313
1414 mend :
15- uses : " puppetlabs/cat-github-actions/.github/workflows/mend_ruby.yml@main "
15+ uses : " puppetlabs/cat-github-actions/.github/workflows/mend_ruby.yml@forked-modules "
1616 secrets : " inherit"
Original file line number Diff line number Diff line change 77
88jobs :
99 Spec :
10- uses : " puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main "
10+ uses : " puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@forked-modules "
1111 secrets : " inherit"
1212
1313 Acceptance :
1414 needs : Spec
15- uses : " puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main "
15+ uses : " puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@forked-modules "
1616 secrets : " inherit"
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 :
8- uses : " puppetlabs/cat-github-actions/.github/workflows/module_release.yml@main "
29+ release :
30+ uses : " puppetlabs/cat-github-actions/.github/workflows/module_release.yml@forked-modules "
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 :
911
1012jobs :
1113 release_prep :
12- uses : " puppetlabs/cat-github-actions/.github/workflows/module_release_prep.yml@main "
14+ uses : " puppetlabs/cat-github-actions/.github/workflows/module_release_prep.yml@forked-modules "
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