mirror of
https://github.com/itchyny/mmv.git
synced 2025-12-27 06:34:57 +08:00
specify minimum permission for the default token in workflows
This commit is contained in:
parent
c44dfa5098
commit
d6ee613353
2 changed files with 6 additions and 0 deletions
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
|
|
@ -6,6 +6,9 @@ on:
|
|||
- main
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test
|
||||
|
|
|
|||
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
|
|
@ -5,6 +5,9 @@ on:
|
|||
tags:
|
||||
- 'v*'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: Release
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue