Skip to content

Commit

Permalink
Merge pull request #548 from oclif/update-gha
Browse files Browse the repository at this point in the history
Update GHA actions
  • Loading branch information
mdonnalley authored Nov 15, 2023
2 parents 1525725 + 5cbdd7f commit c2fdbca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/failureNotifications.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
name: failureNotifications

on:
workflow_run:
workflows:
- create-github-release
- publish
types:
- completed

jobs:
failure-notify:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/onRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c2fdbca

Please sign in to comment.