Bump spotless til 7.0.0 #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Post slack notification on main push | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
notify: | |
name: Notify tiltakspenger-pull-requests | |
runs-on: ubuntu-latest | |
if: github.actor != 'dependabot[bot]' | |
steps: | |
- name: Post message | |
env: | |
WEBHOOK_URL: ${{ secrets.SLACK_PR_WEBHOOK_URL }} | |
COMMIT_MESSAGE: ${{ github.event.head_commit.message }} | |
run: | | |
curl -X POST --data "{\"text\": \"Push til main: $GITHUB_ACTOR på $GITHUB_REPOSITORY - $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/commit/$GITHUB_SHA - ${{ env.COMMIT_MESSAGE }}\"}" $WEBHOOK_URL |