mirror of
https://github.com/purocean/yn.git
synced 2026-08-29 01:21:05 +08:00
Add explicit permissions to limit GITHUB_TOKEN scope
Co-authored-by: purocean <7115690+purocean@users.noreply.github.com>
This commit is contained in:
@@ -8,6 +8,8 @@ on:
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
Reference in New Issue
Block a user