Skip to content

Commit

Permalink
feat(VELO-72): fix git permissions (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
drornir-velocity authored Jul 21, 2024
1 parent 0d5ae2e commit cf838b3
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main

permissions:
contents: write
packages: write

jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -14,10 +18,10 @@ jobs:
with:
fetch-depth: 0

# - name: Configure Git
# run: |
# git config user.name "$GITHUB_ACTOR"
# git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Configure Git
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
- name: Install Helm
uses: azure/setup-helm@v3
Expand All @@ -33,4 +37,4 @@ jobs:
with:
pages_branch: gh-pages-v2
env:
CR_TOKEN: "${{ secrets.TECHVELOCITY_CI_GITHUB_TOKEN_HELM_CHARTS }}"
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit cf838b3

Please sign in to comment.