Skip to content

Move PR title condition to run command #108

Move PR title condition to run command

Move PR title condition to run command #108

name: baseimage-pr-notifier
on:
pull_request_target:
types: [opened]
jobs:
baseimage-pr-notifier:
runs-on: ubuntu-latest
steps:
- run: |
if [[ "${{ github.event.pull_request.title }}" =~ "Update base image" ]]; then
curl -d '{"key":"builder-base image"}' -X POST $SLACK_WEBHOOK
fi
env:
SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK_URL }}