Skip to content
Open
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.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ on:
- '!app/vmui/Makefile'
- '.github/workflows/build.yml'

permissions:
contents: read
permissions: {}

concurrency:
cancel-in-progress: true
Expand All @@ -30,6 +29,8 @@ concurrency:
jobs:
build:
name: Build
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Code checkout
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/check-licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ on:
pull_request:
paths:
- 'vendor'
permissions:
contents: read

permissions: {}

jobs:
build:
name: Build
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Code checkout
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

permissions: {}

jobs:
analyze:
name: Analyze
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ on:
- 'docs/**'
- '.github/workflows/docs.yaml'
workflow_dispatch: {}
permissions:
contents: read # This is required for actions/checkout and to commit back image update
deployments: write

permissions: {}

jobs:
build:
name: Build
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Code checkout
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ on:
- 'go.*'
- '.github/workflows/main.yml'

permissions:
contents: read

concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

permissions: {}

jobs:
lint:
name: lint
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Code checkout
Expand Down Expand Up @@ -58,6 +59,8 @@ jobs:
test:
name: test
needs: lint
permissions:
contents: read
runs-on: ubuntu-latest

strategy:
Expand Down Expand Up @@ -94,6 +97,8 @@ jobs:
integration-test:
name: integration-test
needs: [lint, test]
permissions:
contents: read
runs-on: ubuntu-latest

steps:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/vmui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ on:
- 'app/vmui/packages/vmui/**'
- '.github/workflows/vmui.yml'

permissions:
contents: read
packages: read
pull-requests: read
checks: write

concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

permissions: {}

jobs:
vmui-checks:
name: VMUI Checks (lint, test, typecheck)
permissions:
Comment thread
rudransh-shrivastava marked this conversation as resolved.
checks: write
contents: read
pull-requests: read
runs-on: ubuntu-latest
steps:
- name: Code checkout
Expand Down
Loading