Skip to content

Commit

Permalink
fix: use correct credentials (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusrbrown authored Jun 29, 2023
1 parent 349e18b commit b09a4b3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,31 @@ jobs:
Release:
runs-on: ubuntu-latest
steps:
- name: Get Workflow Access Token
id: get-workflow-access-token
uses: peter-murray/workflow-application-token-action@8e1ba3bf1619726336414f1014e37f17fbadf1db # v2.1.0
with:
application_id: ${{ secrets.APPLICATION_ID }}
application_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }}

- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
fetch-depth: 0
persist-credentials: false
token: ${{ steps.get-workflow-access-token.outputs.token }}

- name: Setup Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: '18.x'

- name: Get Workflow Access Token
id: get-workflow-access-token
uses: peter-murray/workflow-application-token-action@8e1ba3bf1619726336414f1014e37f17fbadf1db # v2.1.0
with:
application_id: ${{ secrets.APPLICATION_ID }}
application_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }}

- name: Semantic Release
env:
GIT_AUTHOR_EMAIL: '118100583+bfra-me[bot]@users.noreply.github.com'
GIT_AUTHOR_NAME: 'bfra.me'
GIT_COMMITTER_EMAIL: '118100583+bfra-me[bot]@users.noreply.github.com'
GIT_COMMITTER_NAME: 'bfra.me'
GITHUB_TOKEN: 'x-access-token:${{ steps.get-workflow-access-token.outputs.token }}'
GITHUB_TOKEN: ${{ steps.get-workflow-access-token.outputs.token }}
run: |
# Run `semantic-release`
npm install conventional-changelog-conventionalcommits
Expand Down

0 comments on commit b09a4b3

Please sign in to comment.