Skip to content

Commit

Permalink
chg: bump comment action to latest release, verify checkout depth
Browse files Browse the repository at this point in the history
* see: marocchino/sticky-pull-request-comment#298
  in upstream action repo

Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
  • Loading branch information
sarnold committed Nov 10, 2021
1 parent 7e2e12f commit ac11c67
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,13 @@ jobs:
output: 'both'

- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2.1.1
uses: marocchino/sticky-pull-request-comment@v2.2.0
if: ${{ github.event_name == 'pull_request' }}
with:
header: coverage
recreate: true
path: code-coverage-results.md
hide_and_recreate: true
hide_classify: "OUTDATED"

test:
name: Coverage check
Expand Down Expand Up @@ -258,12 +259,13 @@ jobs:
fi
- name: Comment PR with test coverage delta
uses: marocchino/sticky-pull-request-comment@v2.1.1
uses: marocchino/sticky-pull-request-comment@v2.2.0
if: env.HAVE_BASE_COVERAGE == 'true'
with:
header: delta
recreate: true
path: coverage-delta.md
hide_and_recreate: true
hide_classify: "OUTDATED"

badge:
# Only generate and publish if these conditions are met:
Expand Down

0 comments on commit ac11c67

Please sign in to comment.