Permissions Advisor #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Permissions Advisor | |
permissions: | |
actions: read | |
on: | |
workflow_dispatch: | |
inputs: | |
name: | |
description: 'The name of the workflow file to analyze' | |
required: true | |
type: string | |
count: | |
description: 'How many last runs to analyze' | |
required: false | |
type: number | |
default: 10 | |
jobs: | |
advisor: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: GitHubSecurityLab/actions-permissions/advisor@v1 | |
with: | |
name: ${{ inputs.name }} | |
count: ${{ inputs.count }} |