Skip to content

Commit c182af7

Browse files
committed
Use github context to access token
1 parent 30412de commit c182af7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

action.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,12 @@ inputs:
88
description: "The version to install: Default: latest"
99
required: false
1010
default: "latest"
11-
token:
12-
description: "The GitHub token to use for the installation"
13-
required: false
14-
default: ${{ secrets.GITHUB_TOKEN }}
1511
runs:
1612
using: "composite"
1713
steps:
1814
# Run the action
1915
- name: Setup Flutter Version Management CLI
2016
shell: bash
2117
env:
22-
GITHUB_TOKEN: ${{ inputs.token }}
18+
GITHUB_TOKEN: ${{ github.token }}
2319
run: $GITHUB_ACTION_PATH/action.sh ${{ inputs.version }}

0 commit comments

Comments
 (0)