Skip to content

Commit

Permalink
Merge pull request #1559 from e10harvey/workflow_permissions
Browse files Browse the repository at this point in the history
.github: Set minimum permissions
  • Loading branch information
e10harvey authored Oct 18, 2022
2 parents 80eab02 + 4547294 commit cbb412d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- master
- develop

permissions:
contents: none

jobs:
clang-format-check:
runs-on: ubuntu-20.04
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
- 'docs/**'
types: [ opened, reopened, synchronize ]

permissions:
contents: none

# Cancels any in progress 'workflow' associated with this PR
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down

0 comments on commit cbb412d

Please sign in to comment.