From fde77e292b6a4608cd4c7f0886dc4a9401fe0ea5 Mon Sep 17 00:00:00 2001 From: svc-cli-bot <113140650+svc-cli-bot@users.noreply.github.com> Date: Wed, 15 Nov 2023 14:26:47 -0600 Subject: [PATCH] chore: update github actions [no ci] (#341) --- .github/workflows/failureNotifications.yml | 5 +---- .github/workflows/onRelease.yml | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/failureNotifications.yml b/.github/workflows/failureNotifications.yml index 6b4118f..f0ad8e0 100644 --- a/.github/workflows/failureNotifications.yml +++ b/.github/workflows/failureNotifications.yml @@ -1,13 +1,10 @@ name: failureNotifications - on: workflow_run: workflows: - - version, tag and github release - publish types: - completed - jobs: failure-notify: runs-on: ubuntu-latest @@ -15,7 +12,7 @@ jobs: steps: - name: Announce Failure id: slack - uses: slackapi/slack-github-action@v1.21.0 + uses: slackapi/slack-github-action@v1.24.0 env: # for non-CLI-team-owned plugins, you can send this anywhere you like SLACK_WEBHOOK_URL: ${{ secrets.CLI_ALERTS_SLACK_WEBHOOK }} diff --git a/.github/workflows/onRelease.yml b/.github/workflows/onRelease.yml index 2983959..4325a7f 100644 --- a/.github/workflows/onRelease.yml +++ b/.github/workflows/onRelease.yml @@ -16,7 +16,7 @@ jobs: tag: ${{ steps.distTag.outputs.tag }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.release.tag_name || inputs.tag }} - uses: salesforcecli/github-workflows/.github/actions/getPreReleaseTag@main