Skip to content

Commit

Permalink
Merge pull request #13750 from Carreau/sec-2
Browse files Browse the repository at this point in the history
SEC: force workflows to be read-only.
  • Loading branch information
Carreau committed Sep 9, 2022
2 parents 06d7872 + ef9f0de commit 4f6e132
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build docs

on: [push, pull_request]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- cron: '23 1 * * 1'
workflow_dispatch:

permissions:
contents: read

jobs:
test:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ main, 7.x]

permissions:
contents: read

jobs:
build:

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

name: Python package

permissions:
contents: read

on:
push:
branches: [ main, 7.x ]
Expand Down

0 comments on commit 4f6e132

Please sign in to comment.