Skip to content

Commit 5f846e1

Browse files
Merge pull request #207 from puppetlabs/CAT-1776-Use_reusable_workflows
(CAT-1776) Implement reusable workflows
2 parents 374f81c + 48a35a9 commit 5f846e1

File tree

7 files changed

+39
-259
lines changed

7 files changed

+39
-259
lines changed

.github/workflows/auto_release.yml

Lines changed: 0 additions & 90 deletions
This file was deleted.

.github/workflows/labeller.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ on:
44
issues:
55
types:
66
- opened
7+
- labeled
8+
- unlabeled
79
pull_request_target:
810
types:
911
- opened
12+
- labeled
13+
- unlabeled
1014

1115
jobs:
1216
label:

.github/workflows/mend.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "mend"
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- synchronize
8+
schedule:
9+
- cron: "0 0 * * *"
10+
workflow_dispatch:
11+
12+
jobs:
13+
14+
mend:
15+
uses: "puppetlabs/cat-github-actions/.github/workflows/tooling_mend_ruby.yml@main"
16+
secrets: "inherit"

.github/workflows/release_prep.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "Release Prep"
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: "Module version to be released. Must be a valid semver string. (1.2.3)"
8+
required: true
9+
10+
jobs:
11+
release_prep:
12+
uses: "puppetlabs/cat-github-actions/.github/workflows/module_release_prep.yml@main"
13+
with:
14+
version: "${{ github.event.inputs.version }}"
15+
secrets: "inherit"

.github/workflows/spec.yml

Lines changed: 0 additions & 126 deletions
This file was deleted.

.github/workflows/stale.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.sync.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,13 @@ spec/spec_helper.rb:
1515
unmanaged: false
1616
.github/workflows/ci.yml:
1717
unmanaged: false
18-
.gitpod.Dockerfile:
18+
.github/workflows/mend.yml:
1919
unmanaged: false
20-
.gitpod.yml:
20+
.github/workflows/release_prep.yml:
2121
unmanaged: false
22-
.github/workflows/auto_release.yml:
22+
.gitpod.Dockerfile:
2323
unmanaged: false
24-
.github/workflows/spec.yml:
25-
checks: 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop'
24+
.gitpod.yml:
2625
unmanaged: false
2726
.github/workflows/release.yml:
2827
unmanaged: false
29-
.travis.yml:
30-
delete: true

0 commit comments

Comments
 (0)