Skip to content

Commit

Permalink
it's hard to keep secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Apr 29, 2024
1 parent 1eb4612 commit cdb4e24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-board.yaml
Expand Up @@ -16,11 +16,11 @@ jobs:
- name: Set Token
run: |
if ! [[ -z "${{ inputs.token }}" ]]; then
echo "Token was specified"
echo "Got token input (is that even possible?)"
echo "TOKEN=${{ inputs.token }}" >> "$GITHUB_ENV"
else
echo "Using default token"
echo "TOKEN=${{ github.token }}" >> "$GITHUB_ENV"
echo "Using current secret"
echo "TOKEN=${{ secrets.MY_REPO_PAT }}" >> "$GITHUB_ENV"
fi
- uses: actions/checkout@v4
Expand Down

0 comments on commit cdb4e24

Please sign in to comment.