Skip to content

Bump spotless til 7.0.0 #7

Bump spotless til 7.0.0

Bump spotless til 7.0.0 #7

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