Skip to content

Commit f028cac

Browse files
committed
Bugfix broken github actions
paambaati/codeclimate-action needs to remain at v2.7.5 helm/chart-releaser-action@v1.4.0 needs to be specific at v1.4.0 fetch-depth: 0 must be specified for the action to do a proper diff Signed-off-by: Jeremy Ho <jujaga@gmail.com>
1 parent 946628e commit f028cac

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/charts-release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ jobs:
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0
1618

1719
- name: Configure Git
1820
run: |
1921
git config user.name "$GITHUB_ACTOR"
2022
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
2123
2224
- name: Run chart-releaser
23-
uses: helm/chart-releaser-action@v1
25+
uses: helm/chart-releaser-action@v1.4.0
2426
env:
2527
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/unit-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
- name: Restore Coverage Results
8383
uses: actions/download-artifact@v2
8484
- name: Publish code coverage
85-
uses: paambaati/codeclimate-action@v3
85+
uses: paambaati/codeclimate-action@v2.7.5
8686
env:
8787
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
8888
with:

0 commit comments

Comments
 (0)