ci: add permissions for workflows

This commit is contained in:
三咲智子 Kevin Deng 2023-01-13 19:54:59 +08:00
parent f16465258d
commit a733fbba08
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,7 @@
name: ci name: ci
permissions: {}
on: on:
push: push:
branches: branches:

View file

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