1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-16 01:10:30 +02:00

Use Personal Access token in release.yml (#4211)

Update release.yml, which is the workflow that creates release PRs and
merges them when approved, to use a Personal Access Token instead of
the standard GITHUB_TOKEN. I choose to name it RELEASE_TOKEN.

This change ensures that GitHub Actions workflows are triggered when
an action is performed by the Automated releases workflow. This is
needed because the publishing to NPM and the creation of a new GitHub
release should happen when there is a commit on `master`. If the release
PR is merged by the workflow using GITHUB_TOKEN, no GitHub Actions
workflows would be triggered.

Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
This commit is contained in:
Eric Cornelissen 2020-12-02 12:19:05 +01:00 committed by GitHub
parent 35c54c4efc
commit c7221a0797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,4 +13,4 @@ jobs:
steps:
- uses: simple-icons/release-action@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.RELEASE_TOKEN }}