Skip to content

Commit

Permalink
fix: moved semantic-pull-request permission on level up
Browse files Browse the repository at this point in the history
  • Loading branch information
prisis committed May 22, 2024
1 parent 411375e commit 2c48ac8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 132 deletions.
129 changes: 0 additions & 129 deletions .github/labels.yml

This file was deleted.

5 changes: 2 additions & 3 deletions .github/workflows/semantic-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ 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 2c48ac8

Please sign in to comment.