Skip to content

Commit 3166e00

Browse files
authored
chore: address warning in typescript nudge workflow (#6553)
* chore: address warning in typescript nudge workflow * chore: update js file to ts
1 parent 243d657 commit 3166e00

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/typescript-nudge.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ jobs:
4646
message: |
4747
This pull request adds or modifies JavaScript (`.js`, `.cjs`, `.mjs`) files.
4848
Consider converting them to TypeScript.
49-
comment_tag: tsnudge
50-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
comment-tag: tsnudge
50+
github-token: ${{ secrets.GITHUB_TOKEN }}
5151

5252
- name: 🏷️ Add a label to the PR to help track how many pull requests adds or modifies JavaScript files
5353
if:
@@ -67,8 +67,8 @@ jobs:
6767
message: |
6868
~This pull request adds or modifies JavaScript (`.js`, `.cjs`, `.mjs`) files. Consider converting them to TypeScript.~
6969
Thank you for converting JavaScript files to TypeScript 🎉"
70-
comment_tag: tsnudge
71-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
70+
comment-tag: tsnudge
71+
github-token: ${{ secrets.GITHUB_TOKEN }}
7272

7373
- name: 🏷️ Remove the label if JavaScript was converted
7474
if:
File renamed without changes.

0 commit comments

Comments
 (0)