Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update git actions to send messages to Slack instead of Discord #972

Merged
merged 4 commits into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from 3 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
12 changes: 6 additions & 6 deletions .github/workflows/diamondEmergencyPause.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ jobs:
ETH_NODE_URI_ZKSYNC: ${{ secrets.ETH_NODE_URI_ZKSYNC }}
PRIVATE_KEY_PAUSER_WALLET: ${{ secrets.PRIV_KEY_PAUSER_WALLET }}

- name: Send Discord message
uses: Ilshidur/[email protected]
- name: Send Reminder to Slack SC-general Channel
uses: slackapi/[email protected]
with:
args: |
:warning: 'ATTENTION - the emergency diamond pause action was just executed by ${{ github.actor }}'
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_DEV_SMARTCONTRACTS }}
webhook: ${{ secrets.SLACK_WEBHOOK_SC_GENERAL }}
webhook-type: incoming-webhook
payload: |
text: 'ATTENTION - the emergency diamond pause action was just executed by ${{ github.actor }}'
13 changes: 6 additions & 7 deletions .github/workflows/networkSecretsChecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,11 @@ jobs:
echo -e "\033[32mFound a RPC URL for each active network. Check passed.\033[0m"
fi

- name: Send Discord message
- name: Send Reminder to Slack SC-general Channel
if: env.MISSING_SECRETS != ''
uses: Ilshidur/[email protected]
uses: slackapi/[email protected]
with:
args: |
:warning: Missing GitHub Secrets for Networks:
${{ env.MISSING_SECRETS }}
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_DEV_SMARTCONTRACTS }}
webhook: ${{ secrets.SLACK_WEBHOOK_SC_GENERAL }}
webhook-type: incoming-webhook
payload: |
text: "Missing GitHub Secrets for Network(s): ${{ env.MISSING_SECRETS }}"
12 changes: 6 additions & 6 deletions .github/workflows/unreviewedPRReminder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ jobs:
echo -e "$OLD_PRS"
echo "old_prs=$OLD_PRS" >> $GITHUB_ENV

- name: Send Discord message
if: env.old_prs != ''
uses: Ilshidur/[email protected]
- name: Send Reminder to Slack PR Review Channel
uses: slackapi/[email protected]
with:
args: 'Hey team, please check out the following PRs that are not yet reviewed/merged: ${{ env.old_prs }}'
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
webhook: ${{ secrets.SLACK_WEBHOOK_SC_REVIEW }}
webhook-type: incoming-webhook
payload: |
text: "Hey team, please check out the following PRs that are not yet reviewed/merged: ${{ env.old_prs }}"
11 changes: 6 additions & 5 deletions .github/workflows/updateScriptConfigReminder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send Discord message
uses: Ilshidur/[email protected]
- name: Send Reminder to Slack SC-general Channel
uses: slackapi/[email protected]
with:
args: "Hey team, please update your scripts/config.sh file (see config.example.sh for latest changes)"
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_DEV_SMARTCONTRACTS }}
webhook: ${{ secrets.SLACK_WEBHOOK_SC_GENERAL }}
webhook-type: incoming-webhook
payload: |
text: "Hey team, please update your scripts/config.sh file (see config.example.sh for latest changes)"
Loading