Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/build-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,12 @@ jobs:
arguments: |
--ignore-files "/.+\/_posts\/README.md"
--checks "Images,Scripts"

# TODO: remove before merge, for testing
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: pyos-infrastructure
SLACK_COLOR: '#00FF00'
SLACK_MESSAGE: "This is a test of the GitHub Actions Slack Notification."
SLACK_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
8 changes: 8 additions & 0 deletions .github/workflows/update-all-review-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,11 @@ jobs:
# Custom token needed to trigger PR checks, as GITHUB_TOKEN won't
# https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
GITHUB_TOKEN: ${{ secrets.PYOS_PR_TOKEN }}
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
if: failure()
env:
SLACK_CHANNEL: pyos-infrastructure
SLACK_COLOR: '#db540b'
SLACK_MESSAGE: "The **ALL Contribs & Reviewers Update** workflow failed for pyopensci.org. Please check the logs."
SLACK_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
8 changes: 8 additions & 0 deletions .github/workflows/update-contribs-reviews.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,11 @@ jobs:
# Custom token needed to trigger PR checks, as GITHUB_TOKEN won't
# https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
GITHUB_TOKEN: ${{ secrets.PYOS_PR_TOKEN }}
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
if: failure()
env:
SLACK_CHANNEL: pyos-infrastructure
SLACK_COLOR: '#db540b'
SLACK_MESSAGE: "The Update Contribs & Reviewers workflow failed for pyopensci.org. Please check the logs."
SLACK_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}