Skip to content

Commit

Permalink
Add permissions advisor workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Jun 27, 2023
1 parent e06d608 commit 0066345
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/permissions-advisor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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 }}

0 comments on commit 0066345

Please sign in to comment.