mirror of
https://github.com/flutter/flutter
synced 2024-10-14 20:22:58 +00:00
Set lock github action workflow permissions explicitly. (#97459)
It is a good practice to set the github actions default permissions to the minimum required. The locks action didn't set permissions explicitly.
This commit is contained in:
parent
33ffb277da
commit
804631d619
5
.github/workflows/lock.yaml
vendored
5
.github/workflows/lock.yaml
vendored
|
@ -2,6 +2,11 @@
|
|||
|
||||
name: 'Lock Threads'
|
||||
|
||||
# By specifying the access of one of the scopes, all of those that are not
|
||||
# specified are set to 'none'.
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 * * * *'
|
||||
|
|
Loading…
Reference in a new issue