Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ concurrency:
group: check-${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions: read-all
permissions:
contents: read

jobs:
format:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/netlify-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
workflow_call:
workflow_dispatch:

permissions:
contents: write
statuses: write
deployments: write

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/release-guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,19 @@ on:
tags:
- "nixos-branding-guide-v*.*.*"

permissions:
contents: write
permissions: {}

jobs:
check:
uses: ./.github/workflows/check.yml
permissions:
contents: read

release:
needs: check
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
Expand Down Expand Up @@ -80,7 +83,14 @@ jobs:
deploy:
uses: ./.github/workflows/netlify-deploy.yml
needs: release
permissions:
contents: write
statuses: write
deployments: write

release-npm-package:
uses: ./.github/workflows/release-npm-package.yaml
needs: release
permissions:
id-token: write
contents: read
Loading