File tree Expand file tree Collapse file tree 8 files changed +48
-37
lines changed Expand file tree Collapse file tree 8 files changed +48
-37
lines changed Original file line number Diff line number Diff line change 7
7
- " main"
8
8
workflow_dispatch :
9
9
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.ref }}
12
+ cancel-in-progress : true
13
+
10
14
jobs :
11
15
Spec :
12
- uses : " puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main "
16
+ uses : " puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@release-any-tag "
13
17
secrets : " inherit"
14
18
15
19
Acceptance :
16
20
needs : Spec
17
- uses : " puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main "
21
+ uses : " puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@release-any-tag "
18
22
secrets : " inherit"
19
23
with :
20
24
runs_on : " ubuntu-20.04"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- ---
2
1
name : " mend"
3
2
4
3
on :
11
10
workflow_dispatch :
12
11
13
12
jobs :
13
+
14
14
mend :
15
- uses : " puppetlabs/cat-github-actions/.github/workflows/mend_ruby.yml@main "
15
+ uses : " puppetlabs/cat-github-actions/.github/workflows/mend_ruby.yml@release-any-tag "
16
16
secrets : " inherit"
Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
Spec :
11
- uses : " puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main "
11
+ uses : " puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@release-any-tag "
12
12
secrets : " inherit"
13
13
14
14
Acceptance :
15
15
needs : Spec
16
- uses : " puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main "
16
+ uses : " puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@release-any-tag "
17
17
secrets : " inherit"
18
18
with :
19
19
runs_on : " ubuntu-20.04"
Original file line number Diff line number Diff line change 1
1
name : " 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) }}
2
7
3
8
on :
4
9
workflow_dispatch :
10
+ inputs :
11
+ tag :
12
+ description : " Enter an old tag, or blank to tag HEAD of branch"
13
+ type : string
14
+ release :
15
+ description : " Create a Github release"
16
+ type : boolean
17
+ default : true
18
+ publish :
19
+ description : " Publish to the Forge"
20
+ type : boolean
21
+ default : true
22
+ edit :
23
+ description : " Re-tag and regenerate release notes"
24
+ type : boolean
25
+ default : false
5
26
6
27
jobs :
7
28
release :
8
- uses : " puppetlabs/cat-github-actions/.github/workflows/module_release.yml@main "
29
+ uses : " puppetlabs/cat-github-actions/.github/workflows/module_release.yml@release-any-tag "
9
30
secrets : " inherit"
31
+ with :
32
+ tag : ${{ inputs.tag }}
33
+ release : ${{ inputs.release }}
34
+ publish : ${{ inputs.publish }}
35
+ edit : ${{ inputs.edit }}
Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
release_prep :
12
- uses : " puppetlabs/cat-github-actions/.github/workflows/module_release_prep.yml@main "
12
+ uses : " puppetlabs/cat-github-actions/.github/workflows/module_release_prep.yml@release-any-tag "
13
13
with :
14
14
version : " ${{ github.event.inputs.version }}"
15
15
secrets : " inherit"
Original file line number Diff line number Diff line change
1
+ name : " Publish module without"
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ jobs :
7
+ release :
8
+ uses : " puppetlabs/cat-github-actions/.github/workflows/module_release.yml@release-any-tag"
9
+ secrets : " inherit"
Original file line number Diff line number Diff line change 1
- * @ puppetlabs/puppetdb @ bastelfreak @ smortex
1
+ * @ puppetlabs/puppetdb @ bastelfreak @ smortex @ h0tw1r3
You can’t perform that action at this time.
0 commit comments