Skip to content

Commit

Permalink
Merge pull request #73 from pafcloud/conradt-paf-patch-2
Browse files Browse the repository at this point in the history
Use unique workflow identifier for pr comment header
  • Loading branch information
conradt-paf authored Mar 20, 2024
2 parents 96c3d14 + 7bbb72e commit 430b7ab
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions terraform/pr-comment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,10 @@ runs:
- name: Hide outdated pull request comment
uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2.9.0
with:
header: ${{ inputs.working-directory }}
header: ${{ inputs.working-directory }}-${{ github.workflow }}
number: ${{ inputs.pull-request-number }}
ignore_empty: true
hide: true
hide_and_recreate: true
hide_classify: "OUTDATED"

- name: Add pull request comment
uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2.9.0
with:
header: ${{ inputs.working-directory }}
number: ${{ inputs.pull-request-number }}
message: |
${{ env.pr_comment }}

0 comments on commit 430b7ab

Please sign in to comment.