Skip to content

Commit e12c394

Browse files
chore(workflow): add generic GH token for semantic release
This pull request makes a small update to the GitHub Actions workflow for publishing packages. The change ensures that the `GITHUB_TOKEN` is available as an environment variable during the publish step. * Added the `GITHUB_TOKEN` environment variable to the "Publish package" step in `.github/workflows/publish-package.yml` to enable authentication for GitHub-related actions.
1 parent f2ba3ac commit e12c394

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/publish-package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ jobs:
3636
- name: Publish package
3737
working-directory: packages/public/${{ github.event.inputs.package }}
3838
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3940
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
4041
run: npx semantic-release ${{ github.event.inputs.cliArgs }}

0 commit comments

Comments
 (0)