Add additional permissions (#5217)

* Add additional permissions

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Fix yamllint warning

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang
2022-03-02 07:01:45 -08:00
committed by GitHub
parent f5acb9d12a
commit d40d224271
8 changed files with 24 additions and 5 deletions

View File

@@ -4,9 +4,13 @@ on:
schedule:
- cron: '22 10 * * 0'
permissions: read-all
jobs:
fix:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579