Skip to content

Commit e31962d

Browse files
committed
Remove $ from core actions sdk usage.
1 parent 4f1c425 commit e31962d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 'Rebuild Stale PullRequests'
22
description: 'Automatically rebuild pull requests when they become stale or the target branch changes.'
33
inputs:
44
github_token:
5-
description: 'GITHUB_TOKEN, must be specified to be the value: ${{ secrets.GITHUB_TOKEN }}'
5+
description: 'GITHUB_TOKEN, must be specified to be the value: {{ secrets.GITHUB_TOKEN }}'
66
branding:
77
icon: 'arrow-right-circle'
88
color: 'green'

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ async function run() {
55
// Attempt to load credentials from the GitHub OIDC provider.
66
const githubSecretAccessToken = core.getInput('github_token');
77
if (!githubSecretAccessToken) {
8-
core.setFailed("Missing use with configuration in the github action, please add to the github workflow: 'github_token: ${{ secrets.GITHUB_TOKEN }}'");
8+
core.setFailed("Missing use with configuration in the github action, please add to the github workflow: 'github_token: {{ secrets.GITHUB_TOKEN }}'");
99
core.getInput('github_token', { required: true });
1010
throw Error('InvalidInput');
1111
}

0 commit comments

Comments
 (0)