Skip to content

Commit

Permalink
Merge pull request #1007 from joycebrum/master
Browse files Browse the repository at this point in the history
Set github workflow permissions to least privileges
  • Loading branch information
avalentino committed Mar 16, 2023
2 parents 09f39dd + 5bb6c87 commit 56ced4a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -2,6 +2,9 @@ name: CI

on: [push, pull_request]

permissions:
contents: read

jobs:

sdist:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ubuntu.yml
Expand Up @@ -2,6 +2,9 @@ name: ubuntu

on: [push, pull_request]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-22.04
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/wheels.yml
Expand Up @@ -13,6 +13,9 @@ on:
types:
- published

permissions:
contents: read

jobs:
build_sdist:
name: Build source distribution
Expand Down

0 comments on commit 56ced4a

Please sign in to comment.