Skip to content

Commit

Permalink
build: add permissions to all workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
clambin committed Jan 11, 2025
1 parent 3474f5d commit 24e2877
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
name: Release

on:
push:
tags:
- 'v*'

permissions:
contents: write

jobs:
test:
uses: clambin/workflows/.github/workflows/test.yaml@main
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Test

on:
push:
pull_request_target:

permissions:
contents: read
jobs:
test:
uses: clambin/workflows/.github/workflows/test.yaml@main
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vulnerabilities.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Vulnerabilities

on:
push:
schedule:
- cron: '23 3 * * 6'

permissions:
contents: read
jobs:
vulnerabilities:
uses: clambin/workflows/.github/workflows/vulnerabilities.yaml@main

0 comments on commit 24e2877

Please sign in to comment.