Skip to content

Commit

Permalink
Github Actions token permissions (#411)
Browse files Browse the repository at this point in the history
Attempting to fix an issue wherein the PSScriptAnalyzer Pull Request action does not post to a Pull Request when raised from a contributor
  • Loading branch information
AdhocAdam committed Sep 13, 2022
1 parent c96d659 commit 9bcd584
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/PSScriptAnalyzerPullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ jobs:
lint-with-PSScriptAnalyzer:
name: Install and Run PSScriptAnalyzer
runs-on: ubuntu-latest

permissions:
pull-requests: write

steps:
- uses: actions/checkout@v3

Expand Down

0 comments on commit 9bcd584

Please sign in to comment.