Skip to content

Commit c211ef4

Browse files
authored
Set up permissions to github workflows (#218)
* feat: update lock.yml permissions Signed-off-by: Joyce <joycebrum@google.com> * feat: set up permissions to ci.yml Signed-off-by: Joyce <joycebrum@google.com> --------- Signed-off-by: Joyce <joycebrum@google.com>
1 parent 2087de5 commit c211ef4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches: [master]
66
pull_request: {}
7+
8+
permissions:
9+
contents: read
710

811
jobs:
912
mypy:

.github/workflows/lock.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ on:
44
schedule:
55
- cron: '0 0 * * *'
66

7-
permissions:
8-
issues: "write"
7+
permissions: {}
98

109
jobs:
1110
lock:
1211
if: github.repository_owner == 'certifi'
1312
runs-on: ubuntu-latest
13+
permissions:
14+
issues: write
1415
steps:
1516
- uses: dessant/lock-threads@v3
1617
with:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy