Skip to content

Commit

Permalink
fix: Changed Github token to personal access token in release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nanthakumaran-s committed Jan 2, 2023
1 parent 2ce515f commit ce294b6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main

jobs:
changelog:
runs-on: ubuntu-latest
Expand All @@ -14,14 +15,14 @@ jobs:
id: changelog
uses: TriPSs/[email protected]
with:
github-token: ${{ secrets.github_token}}
github-token: ${{ secrets.PA_TOKEN }}
version-file: './package.json,./package-lock.json'

- name: create release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
GITHUB_TOKEN: ${{ secrets.PA_TOKEN }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
Expand Down

0 comments on commit ce294b6

Please sign in to comment.