Skip to content

Commit

Permalink
Clean Slack notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
gdepuille committed Sep 10, 2023
1 parent 8a9b0df commit db1ad80
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,3 @@ jobs:
AWS_DEFAULT_OUTPUT: ${{ secrets.AWS_DEFAULT_OUTPUT }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
run: ./gradlew build

- name: Notify slack success
if: steps.build.outcome == 'success' && github.ref == 'refs/heads/dev'
uses: voxmedia/[email protected]
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
channel: builds
status: SUCCESS
color: good

- name: Notify slack fail
if: steps.build.outcome == 'failure' && github.ref == 'refs/heads/dev'
uses: voxmedia/[email protected]
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
channel: builds
status: FAILED
color: danger
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.4.0
hooks:
- id: fix-byte-order-marker
stages: ['commit']
Expand Down

0 comments on commit db1ad80

Please sign in to comment.