Skip to content

Commit d76c799

Browse files
authored
chore(release): add check for charts peer deps (SAP#6511)
1 parent 21f1d39 commit d76c799

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,14 @@ jobs:
1919
uses: './.github/workflows/test.yml'
2020
with:
2121
reportCoverage: false
22-
22+
23+
check-charts-peer-deps:
24+
runs-on: ubuntu-latest
25+
environment: charts-peer-deps-approval
26+
steps:
27+
- name: No-op
28+
run: echo "Did you update the peer dependencies of the chart package?"
29+
2330
release-dryrun:
2431
runs-on: ubuntu-latest
2532
permissions:
@@ -47,7 +54,7 @@ jobs:
4754
--no-git-tag-version --no-push
4855
4956
build-and-release:
50-
needs: ['test', 'release-dryrun']
57+
needs: ['test', 'release-dryrun', 'check-charts-peer-deps']
5158
runs-on: ubuntu-latest
5259
environment:
5360
name: 'npm'

0 commit comments

Comments
 (0)