Skip to content

Commit

Permalink
Pass CR_TOKEN via input
Browse files Browse the repository at this point in the history
Signed-off-by: MOZGIII <[email protected]>
  • Loading branch information
MOZGIII committed Mar 31, 2023
1 parent db5211e commit 83ccfac
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,17 @@ inputs:
description: Mark the created GitHub release as 'latest'
required: false
default: true
token:
description: Token to use when accessing Github APIs
required: false
default: ${{ secrets.GITHUB_TOKEN }}

runs:
using: composite
steps:
- run: |
- env:
CR_TOKEN: ${{ inputs.token }}
run: |
owner=$(cut -d '/' -f 1 <<< "$GITHUB_REPOSITORY")
repo=$(cut -d '/' -f 2 <<< "$GITHUB_REPOSITORY")
Expand Down

0 comments on commit 83ccfac

Please sign in to comment.