Skip to content

Commit

Permalink
Merge pull request #1618 from turrisxyz/naveen/feat/set-perms-actions
Browse files Browse the repository at this point in the history
Set permissions for GitHub actions
  • Loading branch information
mirceaulinic committed May 20, 2022
2 parents 6915439 + 5384c4b commit 4ed99c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
name: build
on: [push, pull_request]
permissions:
contents: read

jobs:
std_tests:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- '*'

permissions:
contents: read

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4ed99c6

Please sign in to comment.