Skip to content

Commit

Permalink
Merge pull request #310 from chatwork/fix_ci
Browse files Browse the repository at this point in the history
fix action condition
  • Loading branch information
cw-sakamoto authored Jun 12, 2024
2 parents e784070 + 1ef795a commit 0f6de9b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
with:
fetch-depth: 0

- name: Check diff chart
run: make ci:diff

- name: Setup Helm
run: make ci:enable:helm

- name: Setup Kubeval
run: make ci:enable:kubeval

- name: Check diff chart
run: make ci:diff

- name: Check chart version
run: make ci:diff:chart | xargs -I{} /bin/bash -c "cd ./{} && ../.github/scripts/check-version.sh || exit 255"

Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Publish Helm Chart

on:
workflow_run:
workflows:
- "Test Helm Chart"
types:
- completed
push:
branches:
- "master"

permissions:
contents: write
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: Test Helm Chart

on:
workflow_run:
workflows:
- "Lint Helm Chart"
types:
- completed
push:
branches-ignore:
- "gh-pages"

Expand Down

0 comments on commit 0f6de9b

Please sign in to comment.