Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
sbryngelson committed Jan 9, 2024
1 parent 476cd5b commit f77974c
Showing 1 changed file with 10 additions and 27 deletions.
37 changes: 10 additions & 27 deletions .github/workflows/count-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,32 +64,15 @@ jobs:
echo "this is only a test" >> "GITHUB_ENV"
echo "$EOF" >> "$GITHUB_ENV"
- name: PR finder
- name: Comment Code Line Diff
continue-on-error: false
steps:
- uses: actions/checkout@v1
# Find the PR associated with this push, if there is one.
- uses: jwalton/gh-find-current-pr@v1
id: findPr
with:
# Can be "open", "closed", or "all". Defaults to "open".
state: open
# This will echo "Your PR is 7", or be skipped if there is no current PR.
- run: echo "Your PR is ${PR}"
if: success() && steps.findPr.outputs.number
env:
PR: ${{ steps.findPr.outputs.pr }}

# - name: Comment Code Line Diff
# continue-on-error: false
# steps:
# - uses: jwalton/gh-find-current-pr@v1
# id: finder
# - uses: marocchino/sticky-pull-request-comment@v2
# with:
# number: ${{ steps.finder.outputs.pr }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# ignore_empty: false
# skip_unchanged: false
# recreate: true
# message: ${{ env.loc_content }}
- uses: marocchino/sticky-pull-request-comment@v2
with:
# number: ${{ steps.finder.outputs.pr }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ignore_empty: false
skip_unchanged: false
recreate: true
message: ${{ env.loc_content }}

0 comments on commit f77974c

Please sign in to comment.