Skip to content

Commit

Permalink
Fix for standardrb in GitHub Actions (#1814)
Browse files Browse the repository at this point in the history
The official workflow for starndard rb requires that permissions be
passed down through workflows. For some reason this is unneccessary in
the starter repo itself, but for downstream apps GHA sometimes complains
about standard rb missing required permissions. This should make it more
stable across apps.
  • Loading branch information
jagthedrummer authored Dec 16, 2024
1 parent 4c6c99b commit b6043bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-cd-pipeline-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
name: 🔬 Standardrb
uses: ./.github/workflows/_standardrb.yml
secrets: inherit
permissions:
checks: write
contents: read
db_schema:
name: 🔎 DB Schema
uses: ./.github/workflows/_database_schema_check.yml
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
name: 🔬 Standardrb
uses: ./.github/workflows/_standardrb.yml
secrets: inherit
permissions:
checks: write
contents: read
db_schema:
name: 🔎 DB Schema
uses: ./.github/workflows/_database_schema_check.yml
Expand Down

0 comments on commit b6043bd

Please sign in to comment.