From cbdd9a527d00ba33ff150418dc19eba14f224364 Mon Sep 17 00:00:00 2001 From: Amy Stamile <74275278+amystamile-usgs@users.noreply.github.com> Date: Wed, 31 Jul 2024 10:18:56 -0700 Subject: [PATCH] Adds PR bot comment. (#5567) --- .github/workflows/gitlab-codebuild.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/gitlab-codebuild.yml b/.github/workflows/gitlab-codebuild.yml index ab0661fd11..1cfad11b00 100644 --- a/.github/workflows/gitlab-codebuild.yml +++ b/.github/workflows/gitlab-codebuild.yml @@ -26,4 +26,15 @@ jobs: git commit -a -m "$PR_NUMBER" git push origin PR_$PR_NUMBER --force + comment-bot: + permissions: write-all + runs-on: [ubuntu-latest] + steps: + - name: Check out code + uses: actions/checkout@v4 + - name: Comment PR + uses: thollander/actions-comment-pull-request@v2 + with: + message: | + The build and test suite have started for your pull request. View [build logs](https://us-west-2.codebuild.aws.amazon.com/project/eyJlbmNyeXB0ZWREYXRhIjoiNDJNZ2MxbHFKTkwxV1RyQUxJekdJY3FIanNqU29rMHB4Nk1YUzk4REIrZUZDeEtEaW9HQlZ1dTZOSHpML2VUTGVDekYydmVFcU9sUHJKN20wQzd1Q0UzSzJscnB0MElDb1M3Ti9GTlJYR1RuMWJTV3V1SkJTa3NoYmc9PSIsIml2UGFyYW1ldGVyU3BlYyI6IjF3U2NTSGlDcEtCc29YVnEiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D) for results. \ No newline at end of file