There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
chore: bump up slackapi/slack-github-action action to v2 (#8833)
renovate4610f1e934d7
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.ymlindex 374ecb0e63..116b41787d 100644--- a/.github/workflows/deploy.yml+++ b/.github/workflows/deploy.yml@@ -173,41 +173,31 @@ jobs:BLOCKSUITE_REPO_PATH: ${{ github.workspace }}/blocksuite- name: Post Failed event to a Slack channelid: failed-slack- uses: slackapi/[email protected]+ uses: slackapi/[email protected]if: ${{ always() && contains(needs.*.result, 'failure') }}with:- channel-id: ${{ secrets.RELEASE_SLACK_CHNNEL_ID }}+ method: chat.postMessage+ token: ${{ secrets.SLACK_BOT_TOKEN }}payload: |- {- "blocks": [- {- "type": "section",- "text": {- "text": "<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Backend deploy failed `${{ github.event.inputs.flavor }}`>",- "type": "mrkdwn"- }- }- ]- }- env:- SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}+ channel: ${{ secrets.RELEASE_SLACK_CHNNEL_ID }}+ text: "<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Backend deploy failed `${{ github.event.inputs.flavor }}`>"+ blocks:+ - type: section+ text:+ type: mrkdwn+ text: "<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Backend deploy failed `${{ github.event.inputs.flavor }}`>"- name: Post Cancel event to a Slack channelid: cancel-slack- uses: slackapi/[email protected]+ uses: slackapi/[email protected]if: ${{ always() && contains(needs.*.result, 'cancelled') && !contains(needs.*.result, 'failure') }}with:- channel-id: ${{ secrets.RELEASE_SLACK_CHNNEL_ID }}+ token: ${{ secrets.SLACK_BOT_TOKEN }}+ method: chat.postMessagepayload: |- {- "blocks": [- {- "type": "section",- "text": {- "text": "<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Backend deploy cancelled `${{ github.event.inputs.flavor }}`>",- "type": "mrkdwn"- }- }- ]- }- env:- SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}+ channel: ${{ secrets.RELEASE_SLACK_CHNNEL_ID }}+ text: "<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Backend deploy cancelled `${{ github.event.inputs.flavor }}`>"+ blocks:+ - type: section+ text:+ type: mrkdwn+ text: "<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Backend deploy cancelled `${{ github.event.inputs.flavor }}`>"