Skip to content

Commit

Permalink
Merge pull request #105 from marcransome/openssf-scorecard-remediations
Browse files Browse the repository at this point in the history
Remediate OpenSSF Scorecard token-permissions
  • Loading branch information
marcransome authored Mar 10, 2024
2 parents d96aa67 + dc69567 commit 49ef64a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ on:
schedule:
- cron: '00 18 * * 1'
workflow_dispatch:

permissions: read-all

jobs:
analyze:
name: Analyze
runs-on: macos-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
pull_request:
branches:
- main

permissions: read-all

jobs:
dependency-review:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/markdown-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
schedule:
- cron: '0 18 * * 1'
workflow_dispatch:

permissions: read-all

jobs:
markdown-links:
runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/openssf-scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
push:
branches: [ "main" ]

# Declare default workflow permissions as read only
permissions: read-all

jobs:
Expand Down

0 comments on commit 49ef64a

Please sign in to comment.