Skip to content

Commit

Permalink
permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
rlespinasse authored Oct 12, 2024
1 parent 8e987cc commit dbcb20a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Lint Code Base

on: pull_request

permissions: read-all

jobs:
build:
name: Lint Code Base
Expand All @@ -24,4 +26,4 @@ jobs:
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: v1.x
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
6 changes: 6 additions & 0 deletions .github/workflows/release-that.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Release that
on: [push, pull_request]
permissions: read-all
jobs:
os-testing:
strategy:
Expand Down Expand Up @@ -51,6 +52,11 @@ jobs:
release:
runs-on: ubuntu-latest
needs: os-testing
permissions:
contents: write
issues: write
id-token: write
packages: write
concurrency:
group: release-${{ github.ref }}
steps:
Expand Down

0 comments on commit dbcb20a

Please sign in to comment.