Minimize GITHUB_TOKEN permissions

Refs: https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token
This commit is contained in:
Taiki Endo 2023-01-21 20:32:53 +09:00
parent 4d8e7bad23
commit ddfb54d1c4
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,8 @@
name: CI name: CI
permissions:
contents: read
on: on:
pull_request: pull_request:
push: push:

View File

@ -1,5 +1,8 @@
name: Release name: Release
permissions:
contents: write
on: on:
push: push:
tags: tags: