Skip to content

Commit d954cc8

Browse files
committed
refactor(pr): rename input
1 parent 131084e commit d954cc8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pr/checks-rerun/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ inputs:
66
description: Workflow filename to rerun
77
required: false
88
default: pull-request.yml
9-
github-token:
10-
description: GitHub token with actions:write permission
9+
token:
10+
description: 'GitHub token or PAT with actions:write permission'
1111
required: false
1212
default: ${{ github.token }}
1313

@@ -17,7 +17,7 @@ runs:
1717
- name: Rerun failed jobs
1818
uses: actions/github-script@v7
1919
with:
20-
github-token: ${{ inputs.github-token }}
20+
github-token: ${{ inputs.token }}
2121
script: |
2222
const owner = context.repo.owner;
2323
const repo = context.repo.repo;

0 commit comments

Comments
 (0)