Skip to content

Commit 1933cb6

Browse files
committed
fix(ci): Update workflows to use release pipeline
Signed-off-by: Dan Webb <dan.webb@damacus.io>
1 parent 48ab884 commit 1933cb6

File tree

8 files changed

+202
-222
lines changed

8 files changed

+202
-222
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ name: ci
99

1010
jobs:
1111
lint-unit:
12-
uses: sous-chefs/.github/.github/workflows/lint-unit.yml@4.0.0
12+
uses: sous-chefs/.github/.github/workflows/lint-unit.yml@5.0.3
1313
permissions:
1414
actions: write
1515
checks: write
1616
pull-requests: write
1717
statuses: write
1818
issues: write
19+
secrets: inherit
1920

2021
integration:
2122
needs: lint-unit
@@ -40,9 +41,9 @@ jobs:
4041
- name: Check out code
4142
uses: actions/checkout@v5
4243
- name: Install Chef
43-
uses: actionshub/chef-install@3.0.1
44+
uses: actionshub/chef-install@main
4445
- name: Dokken
45-
uses: actionshub/test-kitchen@3.0.0
46+
uses: actionshub/test-kitchen@main
4647
env:
4748
CHEF_LICENSE: accept-no-persist
4849
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
name: conventional-commits
3+
4+
"on":
5+
pull_request:
6+
7+
jobs:
8+
conventional-commits:
9+
uses: sous-chefs/.github/.github/workflows/conventional-commits.yml@5.0.3
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: 'Copilot Setup Steps'
3+
4+
"on":
5+
workflow_dispatch:
6+
push:
7+
paths:
8+
- .github/workflows/copilot-setup-steps.yml
9+
pull_request:
10+
paths:
11+
- .github/workflows/copilot-setup-steps.yml
12+
13+
jobs:
14+
copilot-setup-steps:
15+
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
steps:
19+
- name: Check out code
20+
uses: actions/checkout@v5
21+
- name: Install Chef
22+
uses: actionshub/chef-install@main
23+
- name: Install cookbooks
24+
run: berks install
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: prevent-file-change
3+
4+
"on":
5+
pull_request:
6+
7+
jobs:
8+
prevent-file-change:
9+
uses: sous-chefs/.github/.github/workflows/prevent-file-change.yml@5.0.3
10+
secrets:
11+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: release
3+
4+
"on":
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
release:
11+
uses: sous-chefs/.github/.github/workflows/release-cookbook.yml@5.0.3
12+
secrets:
13+
token: ${{ secrets.PORTER_GITHUB_TOKEN }}
14+
supermarket_user: ${{ secrets.CHEF_SUPERMARKET_USER }}
15+
supermarket_key: ${{ secrets.CHEF_SUPERMARKET_KEY }}

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "7.0.29"
3+
}

0 commit comments

Comments
 (0)