Skip to content

Commit

Permalink
more errors and warnings on GH Actions: bump to @v2 as instructed. Vo…
Browse files Browse the repository at this point in the history
…xmedia slack actions script has been abandoned, switched out to another version per: "voxmedia/github-action-slack-notify-build#71 (comment)"
  • Loading branch information
JustinMShea committed Dec 12, 2024
1 parent 0f7e6d0 commit e8d18ee
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/slack-notify-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,28 +71,28 @@ jobs:
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v1
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck

- uses: r-lib/actions/check-r-package@v1
- uses: r-lib/actions/check-r-package@v2

- name: Notify Slack - Build Success
- name: GHA Slack Notify Build
if: success()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1
uses: justinr636/github-action-slack-notify-build@v1
with:
message_id: ${{ steps.slack.outputs.message_id }}
channel_id: C01MS7ECQ8Z
status: SUCCESS
color: good

- name: Notify Slack - Build Failure
- name: GHA Slack Notify Build
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1
uses: justinr636/github-action-slack-notify-build@v1
with:
message_id: ${{ steps.slack.outputs.message_id }}
channel_id: C01MS7ECQ8Z
Expand Down

0 comments on commit e8d18ee

Please sign in to comment.