diff --git a/integration-test/action.yaml b/integration-test/action.yaml index d3f1695..9846cd8 100644 --- a/integration-test/action.yaml +++ b/integration-test/action.yaml @@ -20,7 +20,7 @@ runs: using: composite steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 if: inputs.checkout-repo == 'true' with: fetch-depth: 0 diff --git a/lint/action.yaml b/lint/action.yaml index 2421442..c467844 100644 --- a/lint/action.yaml +++ b/lint/action.yaml @@ -12,7 +12,7 @@ runs: using: composite steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: inputs.checkout-repo == 'true' with: fetch-depth: 0 diff --git a/release/README.md b/release/README.md index af9a601..ac735c6 100644 --- a/release/README.md +++ b/release/README.md @@ -24,7 +24,7 @@ steps: ``` **IMPORTANT**: `GITHUB_TOKEN` does not have the required permissions to operate on protected branches. -If you are using this action for protected branches, replace `GITHUB_TOKEN` with [Personal Access Token](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line). If using the `@semantic-release/git` plugin for protected branches, avoid persisting credentials as part of `actions/checkout@v3` by setting the parameter `persist-credentials: false`. This credential does not have the required permission to operate on protected branches. +If you are using this action for protected branches, replace `GITHUB_TOKEN` with [Personal Access Token](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line). If using the `@semantic-release/git` plugin for protected branches, avoid persisting credentials as part of `actions/checkout@v4` by setting the parameter `persist-credentials: false`. This credential does not have the required permission to operate on protected branches. ## Inputs diff --git a/release/action.yaml b/release/action.yaml index ae852de..f8b5b21 100644 --- a/release/action.yaml +++ b/release/action.yaml @@ -20,7 +20,7 @@ runs: using: composite steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: inputs.checkout-repo == 'true' with: fetch-depth: 0 diff --git a/test/action.yaml b/test/action.yaml index 8a8d91f..fbf5ccc 100644 --- a/test/action.yaml +++ b/test/action.yaml @@ -12,7 +12,7 @@ runs: using: composite steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: inputs.checkout-repo == 'true' with: fetch-depth: 0