Ability to pass permissions as comma separated list
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 64/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- github-actions, javascript
Research direction
Start at the action's input handling and trace how individual permission-{permission_name} inputs are currently processed. Check the existing permission-related behavior and tests, then verify that a comma-separated permissions input works in the composite-action example while preserving existing single-permission usage.
Written by the indexing model from the issue text.
Description
The permission-{permission_name} has to be passed one by one to the action.
This makes it impossible to wrap this action with some other logic into a composite action, that can be distributed. For example, when the credentials of a github app are not taken from a github secret but from a different secret store.
If we pass permissions as a comma separated list we can have something like the following:
outputs:
token: ${{ steps.generate-token.outputs.token }}
... other steps go here...
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ steps.get-app-credentials.outputs.APP_ID_KEY }}
private-key: ${{ steps.get-app-credentials.outputs.PRIVATE_KEY }}
owner: ${{ inputs.repository_owner }}
repositories: ${{ inputs.repositories }}
permissions: ${{ inputs.permissions }}
- Dominant language
- JavaScript
- Stars
- 886
- Forks
- 174
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from actions/create-github-app-token
-
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
actions/create-github-app-token#377 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
stale
Difficulty 3/5 1-2 days Newbie friendliness 55/100
actions/create-github-app-token#330 · 1 comment · 3 reactions ·
-
stale
Difficulty 3/5 1-2 days Newbie friendliness 65/100
actions/create-github-app-token#324 · 1 comment · 3 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
actions/create-github-app-token#314 · 4 comments · 1 reaction ·
All issues in actions/create-github-app-token
Similar issues
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·
-
bug p1 tools
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 84/100