Skip to content

Commit

Permalink
fix(workflow): use env instead
Browse files Browse the repository at this point in the history
Longhorn 10193

Signed-off-by: Derek Su <derek.su@suse.com>
  • Loading branch information
derekbit committed Jan 23, 2025
1 parent 476ea8e commit e743f9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/create-crd-update-pr-in-longhorn-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
jobs:
create-pr:
runs-on: ubuntu-latest
env:
CUSTOM_TOKEN: ${{ secrets.CUSTOM_GITHUB_ACTION_TOKEN }}
steps:
- name: Prepare Packages
run: |
Expand Down Expand Up @@ -40,7 +42,7 @@ jobs:
id: cpr
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.CUSTOM_GITHUB_ACTION_TOKEN }}
token: ${{ env.CUSTOM_TOKEN }}
branch: "update-crds-and-manifests-longhorn-manager-${{ github.event.pull_request.number }}"
delete-branch: true
sign-commits: true
Expand Down

0 comments on commit e743f9f

Please sign in to comment.