Skip to content

Commit 632b183

Browse files
authored
Use gh pr comment instead of peter-evans/create-pull-request (#3469)
1 parent 2af8819 commit 632b183

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/bcd_upgrade_checklist.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ jobs:
1818

1919
- if: ${{ contains(steps.dependabot-metadata.outputs.dependency-names, '@mdn/browser-compat-data') }}
2020
continue-on-error: true
21-
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 #v4.0.0
22-
with:
23-
issue-number: ${{ github.event.number }}
21+
run: gh pr comment --repo="$GITHUB_REPOSITORY" "$GITHUB_EVENT_NUMBER" --body "$BODY"
22+
env:
23+
GH_TOKEN: ${{ github.token }}
24+
GITHUB_REPOSITORY: ${{ github.repository }}
25+
GITHUB_EVENT_NUMBER: ${{ github.event.number }}
2426
# TODO: reinstate this post-merge checklist item when https://github.com/web-platform-dx/web-features/issues/1672 is resolved
2527
# - [ ] (Optional) [Trigger a workflow run to remove tagged compat features](https://github.com/web-platform-dx/web-features/actions/workflows/remove_tagged_compat_features.yml).
26-
body: |
28+
BODY: |
2729
Complete this checklist for every `@mdn/browser-compat-data` upgrade PR.
2830
2931
- [ ] Check out this branch locally.

0 commit comments

Comments
 (0)