Unverified Commit 804631d6 authored by godofredoc's avatar godofredoc Committed by GitHub

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.
parent 33ffb277
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
name: 'Lock Threads' 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: on:
schedule: schedule:
- cron: '0 * * * *' - cron: '0 * * * *'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment