From 2acb989d6d226c86d30fb96cc598af865406159c Mon Sep 17 00:00:00 2001 From: Richard Hallett Date: Tue, 15 Oct 2024 14:29:12 +0200 Subject: [PATCH] Workflows remove slack notify --- .github/workflows/deploy.yml | 18 +----------------- .github/workflows/release.yml | 17 +---------------- 2 files changed, 2 insertions(+), 33 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 861e803..813c38b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -55,8 +55,6 @@ jobs: deploy: needs: [test, build] runs-on: ubuntu-latest - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} steps: - name: Checkout uses: actions/checkout@v2 @@ -99,18 +97,4 @@ jobs: github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} repository: 'datacite/mastino' branch: 'refs/heads/master' - tags: false - - - name: Notify Slack - uses: edge/simple-slack-notify@master - with: - channel: '#ops' - color: 'good' - text: 'A new version of the is been deployed to stage.' - failure_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) build failed' - fields: | - [{ "title": "Commit message", "value": "${{ steps.extract_variables.outputs.MESSAGE }}" }, - { "title": "Committed by", "value": "", "short": true }, - { "title": "Commit SHA", "value": "", "short": true }, - { "title": "Repository", "value": "", "short": true }, - { "title": "Branch", "value": "", "short": true }] + tags: false \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fcf4463..57a9fc6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,8 +58,6 @@ jobs: deploy: needs: [test, build] runs-on: ubuntu-latest - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} steps: - name: Checkout uses: actions/checkout@v2 @@ -100,17 +98,4 @@ jobs: github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} repository: 'datacite/mastino' branch: 'refs/heads/master' - tags: false - - - name: Notify Slack - uses: edge/simple-slack-notify@master - with: - channel: '#ops' - color: 'good' - text: 'Version of the is being released to production.' - failure_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) build failed' - fields: | - [{ "title": "Committed by", "value": "", "short": true }, - { "title": "Commit SHA", "value": "", "short": true }, - { "title": "Repository", "value": "", "short": true }, - { "title": "Release", "value": "", "short": true }] + tags: false \ No newline at end of file