diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index b9520bd3..910a641d 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -12,7 +12,7 @@ jobs: contents: read steps: - name: Checkout action - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false - name: Setup the Node runtime for this project diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 8d562b36..db008d92 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -26,7 +26,7 @@ jobs: exit 1 - name: "build: checkout the latest changes" - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false ref: ${{ inputs.ref || github.event.pull_request.head.sha || github.sha }} @@ -263,7 +263,7 @@ jobs: contents: read steps: - name: "build: checkout the latest changes" - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false ref: ${{ inputs.ref || github.event.pull_request.head.sha || github.sha }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b33a6cd..c5c2f7f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: pull-requests: write steps: - name: Checkout repo - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: true @@ -78,7 +78,7 @@ jobs: permission-contents: write - name: Checkout repo - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: true token: ${{ steps.credentials.outputs.token }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e4e608af..4c224428 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: contents: read steps: - name: "build: checkout the latest changes" - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false diff --git a/docs/running-slack-cli-commands.md b/docs/running-slack-cli-commands.md index 771773a5..56e2b977 100644 --- a/docs/running-slack-cli-commands.md +++ b/docs/running-slack-cli-commands.md @@ -71,7 +71,7 @@ steps: ```yaml steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: slackapi/slack-github-action/cli@v3.0.3 with: command: "manifest validate --app ${{ vars.SLACK_APP_ID }}" @@ -93,7 +93,7 @@ https://github.com/slackapi/slack-github-action/blob/main/example-workflows/Tech ```yaml steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: slackapi/slack-github-action/cli@v3.0.3 with: command: "deploy --app ${{ vars.SLACK_APP_ID }} --force" diff --git a/docs/sending-data-slack-api-method.md b/docs/sending-data-slack-api-method.md index b1247003..0e985323 100644 --- a/docs/sending-data-slack-api-method.md +++ b/docs/sending-data-slack-api-method.md @@ -124,7 +124,7 @@ Calling [a Slack API method](/reference/methods) with [`@slack/web-api`](/tools/ ```yaml - name: Checkout an imagined project - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Share a file to that channel uses: slackapi/slack-github-action@v3.0.3 with: diff --git a/example-workflows/Technique_1_Slack_Workflow_Builder/builds.gha.yml b/example-workflows/Technique_1_Slack_Workflow_Builder/builds.gha.yml index 740638a3..1ff05023 100644 --- a/example-workflows/Technique_1_Slack_Workflow_Builder/builds.gha.yml +++ b/example-workflows/Technique_1_Slack_Workflow_Builder/builds.gha.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: persist-credentials: false diff --git a/example-workflows/Technique_2_Slack_API_Method/author.yml b/example-workflows/Technique_2_Slack_API_Method/author.yml index c58e4f54..0550344d 100644 --- a/example-workflows/Technique_2_Slack_API_Method/author.yml +++ b/example-workflows/Technique_2_Slack_API_Method/author.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: persist-credentials: false diff --git a/example-workflows/Technique_3_Slack_Incoming_Webhook/saved.gha.yml b/example-workflows/Technique_3_Slack_Incoming_Webhook/saved.gha.yml index 6db80483..95fc6629 100644 --- a/example-workflows/Technique_3_Slack_Incoming_Webhook/saved.gha.yml +++ b/example-workflows/Technique_3_Slack_Incoming_Webhook/saved.gha.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: persist-credentials: false diff --git a/example-workflows/Technique_4_Slack_CLI_Command/collaborators.yml b/example-workflows/Technique_4_Slack_CLI_Command/collaborators.yml index f22ec8b8..482d1aa2 100644 --- a/example-workflows/Technique_4_Slack_CLI_Command/collaborators.yml +++ b/example-workflows/Technique_4_Slack_CLI_Command/collaborators.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: persist-credentials: false diff --git a/example-workflows/Technique_4_Slack_CLI_Command/deploy.yml b/example-workflows/Technique_4_Slack_CLI_Command/deploy.yml index b41f87cc..4b0b9f8f 100644 --- a/example-workflows/Technique_4_Slack_CLI_Command/deploy.yml +++ b/example-workflows/Technique_4_Slack_CLI_Command/deploy.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: persist-credentials: false diff --git a/example-workflows/Technique_4_Slack_CLI_Command/manifest.yml b/example-workflows/Technique_4_Slack_CLI_Command/manifest.yml index 39487ddd..a511a69c 100644 --- a/example-workflows/Technique_4_Slack_CLI_Command/manifest.yml +++ b/example-workflows/Technique_4_Slack_CLI_Command/manifest.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: persist-credentials: false