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
5 changes: 3 additions & 2 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ on:
tags:
- "v*"

permissions:
contents: write
permissions: {}

jobs:
release:
name: Build and publish release artifacts
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Check out tagged commit
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ on:
branches:
- main

permissions:
contents: read
permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
Expand All @@ -17,6 +16,8 @@ jobs:
format:
name: Format
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Check out code
Expand All @@ -40,6 +41,8 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Check out code
Expand All @@ -57,6 +60,8 @@ jobs:
shell:
name: Shell
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Check out code
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/pr-cost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ on:
required: true
type: number

permissions:
pull-requests: write
issues: write
permissions: {}

jobs:
cost:
runs-on: ubuntu-latest
permissions:
pull-requests: read
issues: write
steps:
- uses: actions/github-script@v7
env:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ on:
branches:
- main

permissions:
contents: read
permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
Expand All @@ -17,6 +16,8 @@ jobs:
unit-tests:
name: Unit tests
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Check out code
Expand Down
Loading