Skip to content

Commit d184866

Browse files
committed
fix(actions): default GH_TOKEN input to github.token for backward compat
1 parent 691c7f7 commit d184866

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/changeset-preview/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ description: Generates comment on a PR showing expected version impact
33
inputs:
44
GH_TOKEN:
55
description: GitHub token used to post the preview comment
6-
required: true
6+
required: false
7+
default: ${{ github.token }}
78
runs:
89
using: composite
910
steps:

.github/comment-on-release/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ inputs:
66
required: true
77
GH_TOKEN:
88
description: GitHub token used to comment on PRs and issues
9-
required: true
9+
required: false
10+
default: ${{ github.token }}
1011
runs:
1112
using: composite
1213
steps:

0 commit comments

Comments
 (0)