Skip to content

Commit

Permalink
fixup: pin version, add perms
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <[email protected]>
  • Loading branch information
toddbaert committed Jul 11, 2023
1 parent 0df3d20 commit ca7cf11
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/component-owners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@ name: 'Component Owners'
on:
pull_request_target:

permissions:
contents: read # to read changed files
issues: read|write # to read/write issue assignees
pull-requests: read|write # to read/write PR reviewers

jobs:
run_self:
runs-on: ubuntu-latest
name: Auto Assign Owners
steps:
- uses: dyladan/component-owners@main
- uses: dyladan/component-owners@95fcb98c201ff5a41f6b9df38caad4bf9bf4ef02
with:
config-file: .github/component_owners.yml
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ca7cf11

Please sign in to comment.