Added jobs for 1.35 (#690) #182
This file contains hidden or 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: builder-baseimage-pr-notifier | ||
| on: | ||
| pull_request_target: | ||
| types: [opened] | ||
| jobs: | ||
| baseimage-pr-notifier: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Check PR title and notify Slack | ||
| env: | ||
| PR_TITLE: ${{ github.event.pull_request.title }} | ||
| run: | | ||
| if [[ "$PR_TITLE" == *"Update builder-base image"* ]]; then | ||
| curl -X POST $SLACK_WEBHOOK | ||
| echo "Base image update detected - Slack notification sent" | ||
| else | ||
| echo "Not a base image update PR - Skipping notification" | ||
| fi | ||
| exit 0 | ||
| env: | ||
| SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} | ||