Skip to content

Commit 77828ce

Browse files
authored
fix: add workflows permission to create-workflow-token (#1822)
1 parent b547f05 commit 77828ce

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

actions/create-workflow-token/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ inputs:
1919
permission-actions:
2020
description: "Access level for GitHub Actions. 'read' or 'write'."
2121
required: false
22+
permission-workflows:
23+
description: "Access level for workflows. 'read' or 'write'."
24+
required: false
2225

2326
outputs:
2427
token:
@@ -49,6 +52,7 @@ runs:
4952
permission-pull-requests: ${{ inputs.permission-pull-requests }}
5053
permission-issues: ${{ inputs.permission-issues }}
5154
permission-actions: ${{ inputs.permission-actions }}
55+
permission-workflows: ${{ inputs.permission-workflows }}
5256

5357
- name: Set output
5458
id: output

0 commit comments

Comments
 (0)