Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 18e07cc

Browse files
docs: update versions in readme.md (#893)
- Replaced `v3` with `v4` in the examples - Mapping names to certain references - Changed `actions/checkout` version from `v2` to `v4` - Changed `actions/setup-node` version from `v1` to `v4` Signed-off-by: Rózsa Zoltán <[email protected]> Co-authored-by: Jeff Ching <[email protected]>
1 parent 05524eb commit 18e07cc

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ and then configure this action as follows:
5353
```yaml
5454
#...(same as above)
5555
steps:
56-
- uses: google-github-actions/release-please-action@v3
56+
- uses: google-github-actions/release-please-action@v4
5757
with:
5858
# this assumes that you have created a personal access token
5959
# (PAT) and configured it as a GitHub action secret named
@@ -102,7 +102,7 @@ From GitHub's
102102
> When you use the repository's `GITHUB_TOKEN` to perform tasks, events triggered by the `GITHUB_TOKEN`
103103
> will not create a new workflow run. This prevents you from accidentally creating recursive workflow runs.
104104

105-
. You will want to configure a GitHub Actions secret with a
105+
You will want to configure a GitHub Actions secret with a
106106
[Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)
107107
if you want GitHub Actions CI checks to run on Release Please PRs.
108108

@@ -123,9 +123,9 @@ For more information about permissions:
123123

124124
- GitHub APIs [protected by `contents` permission](https://docs.github.com/en/rest/overview/permissions-required-for-github-apps?apiVersion=2022-11-28#contents)
125125
- GitHub APIs [protected by `pull_requests` permission](https://docs.github.com/en/rest/overview/permissions-required-for-github-apps?apiVersion=2022-11-28#pull-requests)
126-
- https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
127-
- https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#enabling-workflows-for-private-repository-forks
128-
- https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
126+
- Github Actions: [permissions for the `GITHUB_TOKEN`](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token)
127+
- Github Repositories: [enabling workflows for forks of private repositories](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#enabling-workflows-for-private-repository-forks)
128+
- Github Actions: [assigning permissions to jobs](https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs)
129129

130130
### Release Types Supported
131131

@@ -275,11 +275,11 @@ jobs:
275275
with:
276276
release-type: node
277277
# The logic below handles the npm publication:
278-
- uses: actions/checkout@v2
278+
- uses: actions/checkout@v4
279279
# these if statements ensure that a publication only occurs when
280280
# a new release is created:
281281
if: ${{ steps.release.outputs.release_created }}
282-
- uses: actions/setup-node@v1
282+
- uses: actions/setup-node@v4
283283
with:
284284
node-version: 12
285285
registry-url: 'https://registry.npmjs.org'
@@ -321,7 +321,7 @@ jobs:
321321
id: release
322322
with:
323323
release-type: node
324-
- uses: actions/checkout@v2
324+
- uses: actions/checkout@v4
325325
- name: tag major and minor versions
326326
if: ${{ steps.release.outputs.release_created }}
327327
run: |

0 commit comments

Comments
 (0)