Skip to content

Commit 74a9185

Browse files
authored
Merge pull request #356 from puppetlabs/CONT-236-workflow_updates
(CONT-236) Workflow updates
2 parents a28e6e9 + 2faad68 commit 74a9185

File tree

7 files changed

+86
-62
lines changed

7 files changed

+86
-62
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

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

.github/dependabot.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
version: 2
22
updates:
3-
- package-ecosystem: bundler
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
time: "13:00"
8-
open-pull-requests-limit: 10
9-
ignore:
10-
- dependency-name: rubocop
11-
versions:
12-
- "> 0.49, < 1"
13-
- dependency-name: rubocop
14-
versions:
15-
- ">= 1.a, < 2"
3+
- package-ecosystem: "bundler"
4+
directory: "/" #
5+
schedule:
6+
interval: "weekly"
7+
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "ci"
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
pull_request:
8+
branches:
9+
- "main"
10+
schedule:
11+
- cron: "0 0 * * *"
12+
workflow_dispatch:
13+
14+
jobs:
15+
16+
spec:
17+
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"
18+
secrets: "inherit"
19+
20+
acceptance:
21+
needs: "spec"
22+
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main"
23+
secrets: "inherit"

.github/workflows/labeller.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: community-labeller
2+
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
pull_request_target:
8+
types:
9+
- opened
10+
11+
jobs:
12+
label:
13+
runs-on: ubuntu-latest
14+
steps:
15+
16+
- uses: puppetlabs/community-labeller@v0
17+
name: Label issues or pull requests
18+
with:
19+
label_name: community
20+
label_color: '5319e7'
21+
org_membership: puppetlabs
22+
token: ${{ secrets.IAC_COMMUNITY_LABELER }}

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "Release"
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
target:
7+
description: "The target for the release. This can be a commit sha or a branch."
8+
required: false
9+
default: "main"
10+
11+
jobs:
12+
release:
13+
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_release.yml@main"
14+
with:
15+
target: "${{ github.event.inputs.target }}"
16+
secrets: "inherit"

.github/workflows/release_prep.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "release prep"
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
target:
7+
description: "The target for the release. This can be a commit sha or a branch."
8+
required: false
9+
default: "main"
10+
11+
jobs:
12+
release_prep:
13+
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_release_prep.yml@main"
14+
with:
15+
target: "${{ github.event.inputs.target }}"
16+
secrets: "inherit"

.travis.yml

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

0 commit comments

Comments
 (0)