Skip to content

Commit

Permalink
Add: topic check for all deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraggle committed Nov 27, 2024
1 parent 44b6316 commit 711f834
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/deploy-connectors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Slack Check Deployment Blocked
uses: ./.github/actions/slack-check-deployment-blocked
with:
component: "connectors"
channel: ${{ secrets.SLACK_CHANNEL_ID }}
slack_token: ${{ secrets.SLACK_BOT_TOKEN }}

- name: Get short sha
id: short_sha
run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/deploy-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Slack Check Deployment Blocked
uses: ./.github/actions/slack-check-deployment-blocked
with:
component: "core"
channel: ${{ secrets.SLACK_CHANNEL_ID }}
slack_token: ${{ secrets.SLACK_BOT_TOKEN }}

- name: Get short sha
id: short_sha
run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/deploy-front.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Slack Check Deployment Blocked
uses: ./.github/actions/slack-check-deployment-blocked
with:
component: "front"
channel: ${{ secrets.SLACK_CHANNEL_ID }}
slack_token: ${{ secrets.SLACK_BOT_TOKEN }}

- name: Get short sha
id: short_sha
run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/deploy-oauth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Slack Check Deployment Blocked
uses: ./.github/actions/slack-check-deployment-blocked
with:
component: "oauth"
channel: ${{ secrets.SLACK_CHANNEL_ID }}
slack_token: ${{ secrets.SLACK_BOT_TOKEN }}

- name: Get short sha
id: short_sha
run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/deploy-prodbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ jobs:
fetch-depth: 0
ssh-key: "${{ secrets.PRODBOX_PRIVATE_DEPLOY_KEY }}"

- name: Slack Check Deployment Blocked
uses: ./.github/actions/slack-check-deployment-blocked
with:
component: "prodbox"
channel: ${{ secrets.SLACK_CHANNEL_ID }}
slack_token: ${{ secrets.SLACK_BOT_TOKEN }}

- name: Get short sha
id: short_sha
run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/deploy-viz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Slack Check Deployment Blocked
uses: ./.github/actions/slack-check-deployment-blocked
with:
component: "viz"
channel: ${{ secrets.SLACK_CHANNEL_ID }}
slack_token: ${{ secrets.SLACK_BOT_TOKEN }}

- name: Get short sha
id: short_sha
run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 711f834

Please sign in to comment.