Skip to content

Commit

Permalink
fix: checkout branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas GRUSON committed Feb 9, 2021
1 parent e282647 commit 48b0862
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Prepare dev chart
run: ./.github/helm-chart-dev.sh
- name: Commit dev chart
Expand All @@ -112,9 +114,7 @@ jobs:
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
VERSION=$(cat charts/dev/Chart.yaml | grep version | sed -e 's/version: //')
git commit -am "chore: auto-commit chart ${VERSION}"
git push origin HEAD:${PR_BRANCH_NAME}
env:
PR_BRANCH_NAME: '${{github.event.pull_request.head.ref}}'
git push
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.0.0
env:
Expand Down

0 comments on commit 48b0862

Please sign in to comment.