diff --git a/.github/workflows/failureNotifications.yml b/.github/workflows/failureNotifications.yml index d3e86d7b..87bac8a4 100644 --- a/.github/workflows/failureNotifications.yml +++ b/.github/workflows/failureNotifications.yml @@ -1,5 +1,4 @@ name: failureNotifications - on: workflow_run: workflows: @@ -7,7 +6,6 @@ on: - publish types: - completed - jobs: failure-notify: runs-on: ubuntu-latest @@ -15,7 +13,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 02bebdfa..d5738717 100644 --- a/.github/workflows/onRelease.yml +++ b/.github/workflows/onRelease.yml @@ -17,7 +17,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