Skip to content

Commit

Permalink
revert: moving permissions back
Browse files Browse the repository at this point in the history
  • Loading branch information
prisis committed May 22, 2024
1 parent ad6a3ed commit 24c23f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/semantic-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ on: # yamllint disable-line rule:truthy
type: "string"

permissions:
pull-requests: "write" # to analyze PRs (amannn/action-semantic-pull-request)
statuses: "write" # to mark status of analyzed PR (amannn/action-semantic-pull-request)
contents: "read"

jobs:
main:
if: "github.repository == inputs.target-repo"
permissions:
pull-requests: "write" # to analyze PRs (amannn/action-semantic-pull-request)
statuses: "write" # to mark status of analyzed PR (amannn/action-semantic-pull-request)
runs-on: "ubuntu-latest"
name: "Semantic Pull Request"
steps:
Expand Down

0 comments on commit 24c23f9

Please sign in to comment.