diff --git a/.github/workflows/deploy-single.yml b/.github/workflows/deploy-single.yml index bbb975207..736309231 100644 --- a/.github/workflows/deploy-single.yml +++ b/.github/workflows/deploy-single.yml @@ -217,7 +217,7 @@ jobs: deploy_finish_slack: if: github.repository_owner == 'Informatievlaanderen' needs: [deploy_services, deploy_tasks, deploy_lambda] - name: Deploy finished + name: Notify deployment succeeded runs-on: ubuntu-latest steps: @@ -225,7 +225,7 @@ jobs: run: echo REPOSITORY_NAME=$(echo ""$GITHUB_REPOSITORY"" | awk -F / '{print $2}' | sed -e ""s/:refs//"") >> $GITHUB_ENV shell: bash - - name: Notify deployment finished + - name: Notify deployment succeeded uses: slackapi/slack-github-action@v1.25.0 with: channel-id: '#team-wegenregister-dev' @@ -238,7 +238,7 @@ jobs: deploy_nothing_slack: if: github.repository_owner == 'Informatievlaanderen' && (github.event.inputs.service == '' || github.event.inputs.task == '' || github.event.inputs.lambda == '') needs: [deploy_services, deploy_tasks, deploy_lambda] - name: Deploy cancelled + name: Notify deployment cancelled runs-on: ubuntu-latest steps: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 256581587..62e695b94 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -148,7 +148,7 @@ jobs: deploy_lambda_prd: if: github.repository_owner == 'Informatievlaanderen' && github.event.inputs.environment == 'prd' needs: [deploy_services, deploy_tasks] - name: Deploy lambda(s) + name: Deploy lambda(s) prd runs-on: ubuntu-latest steps: @@ -257,7 +257,7 @@ jobs: deploy_finish_slack: needs: [system_healthcheck] if: ${{ github.repository_owner == 'Informatievlaanderen' && always() && needs.system_healthcheck.result == 'success' }} - name: Deploy finished + name: Notify deployment succeeded runs-on: ubuntu-latest steps: @@ -265,7 +265,7 @@ jobs: run: echo REPOSITORY_NAME=$(echo ""$GITHUB_REPOSITORY"" | awk -F / '{print $2}' | sed -e ""s/:refs//"") >> $GITHUB_ENV shell: bash - - name: Notify deployment finished + - name: Notify deployment succeeded uses: slackapi/slack-github-action@v1.25.0 with: channel-id: '#team-wegenregister-dev' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d2cb6c9c6..e6c8b927f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -971,7 +971,7 @@ jobs: deploy_to_test_finish_slack: if: github.repository_owner == 'Informatievlaanderen' needs: [ release, system_healthcheck ] - name: Deploy to test finished + name: Notify deployment succeeded runs-on: ubuntu-latest steps: @@ -979,7 +979,7 @@ jobs: run: echo REPOSITORY_NAME=$(echo ""$GITHUB_REPOSITORY"" | awk -F / '{print $2}' | sed -e ""s/:refs//"") >> $GITHUB_ENV shell: bash - - name: Notify deployment finished + - name: Notify deployment succeeded uses: slackapi/slack-github-action@v1.25.0 with: channel-id: '#team-wegenregister-dev' @@ -991,16 +991,16 @@ jobs: build_notify_skipped: if: ${{ (github.repository_owner == 'Informatievlaanderen') && (needs.set-release-version.outputs.version == 'none') }} - name: Notify release skipped + name: Notify build skipped needs: [ set-release-version ] runs-on: ubuntu-latest steps: - - name: Notify release skipped + - name: Notify build skipped id: slack uses: slackapi/slack-github-action@v1.25.0 with: channel-id: '#team-wegenregister-dev' - slack-message: ":x: Release of road-registry has been skipped. View run at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" + slack-message: ":x: Build of road-registry has been skipped. View run at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" env: SLACK_BOT_TOKEN: ${{ secrets.VBR_SLACK_BOT_TOKEN }} SLACK_CHANNEL: ${{ secrets.VBR_NOTIFIER_CHANNEL_NAME }}