Skip to content

Commit

Permalink
Merge pull request #122 from hartwork/reduce-ci-permissions
Browse files Browse the repository at this point in the history
Lock CI permissions down for security
  • Loading branch information
hartwork authored Nov 26, 2023
2 parents 01211e7 + 82ce25b commit 6874c61
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/linux_and_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@

name: Build on Linux/macOS

# Drop permissions to minimum, for security
permissions:
contents: read

on:
pull_request:
push:
schedule:
- cron: '0 3 * * 5' # Every Friday at 3am
workflow_dispatch:

# Minimum permissions for security
permissions:
contents: read

jobs:
linux:
name: Build (${{ matrix.cc }} on ${{ matrix.runs-on }})
Expand Down

0 comments on commit 6874c61

Please sign in to comment.