Skip to content

Bump ch.qos.logback:logback-classic from 1.5.15 to 1.5.16 #13

Bump ch.qos.logback:logback-classic from 1.5.15 to 1.5.16

Bump ch.qos.logback:logback-classic from 1.5.15 to 1.5.16 #13

name: Post slack notification on pull request
on:
pull_request:
types:
- opened
- reopened
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 }}
PR_TITLE: ${{ github.event.pull_request.title }}
PR_URL: ${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.pull_request.number }}
run: |
curl -X POST --data "{\"text\": \"Pull request åpnet: $GITHUB_ACTOR på $GITHUB_REPOSITORY - $PR_URL - $PR_TITLE\"}" $WEBHOOK_URL