Added minimum permissions to workflows (#1517)
Signed-off-by: Eddie Knight <iv.eddieknight@gmail.com>
This commit is contained in:
parent
5963c0befe
commit
c041c74464
4 changed files with 22 additions and 0 deletions
6
.github/workflows/pr-title.yml
vendored
6
.github/workflows/pr-title.yml
vendored
|
|
@ -8,8 +8,14 @@ on:
|
|||
- edited
|
||||
- synchronize
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
main:
|
||||
permissions:
|
||||
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
|
||||
statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR
|
||||
name: Validate PR title
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue