Skip to content

Commit

Permalink
using ORG_REPO_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
afdesk committed Sep 17, 2024
1 parent fc36fa7 commit 3de2147
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ jobs:
run: echo "TAG=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
- name: Create a PR
run: ./misc/helm-chart/create-pr.sh ${{ env.TAG }}
env:
# Use ORG_REPO_TOKEN instead of GITHUB_TOKEN
# This allows the created PR to trigger tests and other workflows
GITHUB_TOKEN: ${{ secrets.ORG_REPO_TOKEN }}

publish-chart:
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
Expand Down

0 comments on commit 3de2147

Please sign in to comment.