Bump org.apache.maven.plugins:maven-surefire-plugin from 3.0.0-M5 to 3.2.1 #17
Workflow file for this run
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: Add Comment to Dependabot PR | |
on: | |
pull_request: | |
types: | |
- opened | |
jobs: | |
add-comment: | |
permissions: | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check if PR is from Dependabot | |
id: check_dependabot | |
run: echo ::set-output name=is_dependabot::${{ github.event.pull_request.user.login == 'dependabot[bot]' }} | |
- name: Add Comment to Dependabot PR | |
if: steps.check_dependabot.outputs.is_dependabot == 'true' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
COMMENT: "When updating `jenkins-plugins`, please manually update the dynamic preview environment `cloudbees-core-cm` version in [`preview/Dockerfile`](https://github.com/cloudbees/cloudbees-pipeline-explorer-plugin/blob/main/preview/Dockerfile#L1) to match the upstream version from `jenkins-plugins` before merging the PR." | |
run: | | |
gh issue comment ${{ github.event.pull_request.number }} --repo "$GITHUB_REPOSITORY" --body "$COMMENT" |