-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor github action workflows to use EdnBug/add-and-commit github …
…action cuz old action was causing file permission issues
- Loading branch information
Showing
2 changed files
with
5 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -224,78 +224,24 @@ jobs: | |
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: DEBUG 1 | ||
run: | | ||
id | ||
whoami | ||
ls -al | ||
ls -al .git/ | ||
ls -al .git/objects | ||
# - name: Configure Git 🛠 | ||
# run: | | ||
# git config user.name "$GITHUB_ACTOR" | ||
# git config user.email "[email protected]" | ||
|
||
- name: DEBUG 2 | ||
run: | | ||
id | ||
whoami | ||
ls -al | ||
ls -al .git/ | ||
ls -al .git/objects | ||
- name: Download Helm Charts prepared to release 🔻 | ||
id: download-helm-charts | ||
uses: actions/download-artifact@v2 | ||
with: | ||
path: ${{ env.CHARTS_DIR }} | ||
|
||
- name: DEBUG 3 | ||
run: | | ||
id | ||
whoami | ||
ls -al | ||
ls -al .git/ | ||
ls -al .git/objects | ||
- name: Push Updated Helm Chart Verions 💾 | ||
uses: EndBug/add-and-commit@v7 | ||
with: | ||
default_author: github_actor | ||
default_author: github_actions | ||
message: "Updated Helm Chart versions for latest merge to: ${{ github.ref }}" | ||
push: true | ||
|
||
# uses: github-actions-x/[email protected] | ||
# with: | ||
# github-token: ${{ secrets.GITHUB_TOKEN }} | ||
# commit-message: "Updated Helm Chart versions for latest merge to: ${{ github.ref }}" | ||
# name: ${{ env.GITHUB_ACTOR }} | ||
# email: ${{ env.GITHUB_ACTOR }}@users.noreply.github.com | ||
|
||
- name: DEBUG 4 | ||
run: | | ||
id | ||
whoami | ||
ls -al | ||
ls -al .git/ | ||
ls -al .git/objects | ||
- name: Setup Helm 🧰 | ||
uses: azure/setup-helm@v1 | ||
with: | ||
version: v3.6.1 | ||
|
||
- name: DEBUG 5 | ||
run: | | ||
id | ||
whoami | ||
ls -al | ||
ls -al .git/ | ||
ls -al .git/objects | ||
- name: Run chart-releaser 🚀 | ||
uses: helm/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -167,23 +167,18 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git 🛠 | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Download Helm Charts prepared to release 🔻 | ||
id: download-helm-charts | ||
uses: actions/download-artifact@v2 | ||
with: | ||
path: ${{ env.CHARTS_DIR }} | ||
|
||
- name: Push Updated Helm Chart Verions 💾 | ||
uses: github-actions-x/commit@v2.7 | ||
uses: EndBug/add-and-commit@v7 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
push-branch: main | ||
commit-message: 'Updated Helm Chart versions for release: v${{ needs.setup.outputs.helm-charts-new-semver }}' | ||
default_author: github_actions | ||
message: "Updated Helm Chart versions for latest merge to: ${{ github.ref }}" | ||
push: true | ||
|
||
- name: Setup Helm 🧰 | ||
uses: azure/setup-helm@v1 | ||
|