Skip to content

Commit 223b79e

Browse files
committed
add comment on pull request
1 parent b00c23e commit 223b79e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/blackduck.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,6 @@ jobs:
3535
- uses: ./.github/actions/gcloud-login
3636
with:
3737
key: ${{ secrets.DA_IMAGES }}
38-
- name: Comment on the Pull Request
39-
if: github.ref != 'refs/heads/main'
40-
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # Use the comment action
41-
with:
42-
message: |
43-
The NOTICES file has been updated on this PR due to a change in
44-
your library dependencies.
45-
46-
The workflow run ID is **${{ github.run_id }}**.
47-
github-token: ${{ secrets.AUTO_REBASE_PAT }}
4838
- name: Build and Test Go Project
4939
run: |
5040
go build -o target/ ./cmd/...
@@ -71,3 +61,13 @@ jobs:
7161
git commit -m "Update NOTICES after go.mod change" || echo "No changes to commit"
7262
git push
7363
shell: bash -euo pipefail -c "source nix.source && exec bash {0}"
64+
- name: Comment on the Pull Request
65+
if: github.ref != 'refs/heads/main'
66+
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # Use the comment action
67+
with:
68+
message: |
69+
The NOTICES file has been updated on this PR due to a change in
70+
your library dependencies.
71+
72+
The workflow run ID is **${{ github.run_id }}**.
73+
github-token: ${{ secrets.AUTO_REBASE_PAT }}

0 commit comments

Comments
 (0)