Skip to content

Commit

Permalink
Add checkout token
Browse files Browse the repository at this point in the history
  • Loading branch information
szinn committed Oct 13, 2023
1 parent c4d1f3e commit b805231
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions action/diff/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ inputs:
sources:
description: GitRepository or OCIRepository to include with optional source mappings like `flux-system` or `cluster=./kubernetes/`
default: ''
token:
description: Token used for checkout action
default: '${{ github.token }}'
required: false
outputs:
diff:
description: Output of the diff command or empty if there is no diff
Expand All @@ -63,11 +67,13 @@ runs:
uses: actions/checkout@v4
with:
path: pr
token: ${{ inputs.token }}
- name: Checkout live branch
uses: actions/checkout@v4
with:
ref: ${{ inputs.live-branch }}
path: live
token: ${{ inputs.token }}
- name: flux-local diff
id: flux_diff
run: |
Expand Down

0 comments on commit b805231

Please sign in to comment.