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/black.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Check formatting with Black

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/checkbox-beta-release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Beta version of checkbox
run-name: Promote edge versions of checkbox to beta

permissions:
contents: read
actions: read # used by can_promote_edge.py to query past daily builds
on:
push:
branches:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/checkbox-ce-oem-daily-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: checkbox-ce-oem daily builds

permissions:
contents: read
actions: read # used by gh api
on:
schedule:
- cron: '00 21 * * *'
Expand Down Expand Up @@ -41,4 +43,6 @@ jobs:
needs: check_for_commits
if: ${{ needs.check_for_commits.outputs.new_commit_count > 0 || github.event_name == 'workflow_dispatch' }}
uses: ./.github/workflows/checkbox-ce-oem-edge-builds.yml
secrets: inherit
secrets:
SNAPCRAFT7_CREDS: ${{ secrets.SNAPCRAFT7_CREDS }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 7 additions & 1 deletion .github/workflows/checkbox-ce-oem-edge-builds.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
name: checkbox-ce-oem snap edge build

permissions:
contents: read
on:
workflow_dispatch:
workflow_call:
secrets:
SNAPCRAFT7_CREDS:
required: true
GITHUB_TOKEN:
required: true

jobs:
snap:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/checkbox-daily-cross-builds.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Checkbox Snap daily cross-builds

permissions:
contents: read
on:
workflow_dispatch:
inputs:
Expand All @@ -15,7 +16,11 @@ on:
default: false
required: false
type: boolean

secrets:
SNAPCRAFT7_CREDS:
required: true
GITHUB_TOKEN:
required: true
jobs:
snap-runtime:
strategy:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/checkbox-daily-native-builds.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Checkbox Snap daily native builds

permissions:
contents: read
on:
workflow_dispatch:
inputs:
Expand All @@ -15,6 +16,11 @@ on:
default: false
required: false
type: boolean
secrets:
SNAPCRAFT7_CREDS:
required: true
GITHUB_TOKEN:
required: true

jobs:
snap_runtime_native:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/checkbox-promote-beta-to-candidate.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Promote Checkbox beta to candidate
on:
workflow_dispatch:
permissions:
contents: read

jobs:
checkbox-promotion-beta-to-candidate-test:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/checkbox-stable-release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Stable version of checkbox
run-name: Promote beta versions of checkbox to stable
permissions:
contents: read # write used to create the release

on:
workflow_dispatch:
Expand All @@ -18,6 +20,8 @@ jobs:
- jammy
- large
- X64
permissions:
contents: write
steps:
- name: Checkout checkbox monorepo
uses: actions/checkout@v4
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/checkbox-tics.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: TICS Code Quality Analysis

on:
schedule:
- cron: '00 19 * * *'
workflow_dispatch:

permissions:
contents: read

Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/daily-builds.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Daily builds

permissions:
contents: read
actions: read # used by gh api
on:
schedule:
- cron: '00 18 * * *'
Expand Down Expand Up @@ -41,20 +43,26 @@ jobs:
needs: check_for_commits
if: ${{ needs.check_for_commits.outputs.new_commit_count > 0 || github.event_name == 'workflow_dispatch' }}
uses: ./.github/workflows/checkbox-daily-cross-builds.yaml
secrets: inherit
secrets:
SNAPCRAFT7_CREDS: ${{ secrets.SNAPCRAFT7_CREDS }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
store_upload: true

snap-native-build-upload-daily:
needs: check_for_commits
if: ${{ needs.check_for_commits.outputs.new_commit_count > 0 || github.event_name == 'workflow_dispatch' }}
uses: ./.github/workflows/checkbox-daily-native-builds.yaml
secrets: inherit
secrets:
SNAPCRAFT7_CREDS: ${{ secrets.SNAPCRAFT7_CREDS }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
store_upload: true

deb-daily:
needs: check_for_commits
if: ${{ needs.check_for_commits.outputs.new_commit_count > 0 || github.event_name == 'workflow_dispatch' }}
uses: ./.github/workflows/deb-daily-builds.yml
secrets: inherit
secrets:
LP_CREDS: ${{ secrets.LP_CREDS }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9 changes: 7 additions & 2 deletions .github/workflows/deb-daily-builds.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
name: Debian packages daily build

permissions:
contents: read
on:
workflow_dispatch:
workflow_call:

secrets:
LP_CREDS:
required: true
GITHUB_TOKEN:
required: true
jobs:
ppa_update:
name: Sync PPA history with monorepo
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deb-sanity-builds.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Sanity Debian package build

permissions:
contents: read
on:
schedule:
- cron: '00 14 * * *'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deb_validator.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Verify debian packages

permissions:
contents: read

on:
push:
branches: [ main ]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dispatch_lab_job.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Dispatch Checkbox jobs in the lab
permissions:
contents: read
on:
workflow_dispatch:
inputs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/documentation-check.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Automatic documentation checks

permissions:
contents: read
on:
pull_request:
paths:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/label-cert-blocker-issue.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Label issue related to cert-blocker test cases

on:
issues:
types: [opened]
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/metabox.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Run Metabox when PR is approved

permissions:
contents: read

on:
pull_request_review:
types: [submitted]
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr_validation.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: PR Validation
permissions:
contents: read
on:
pull_request:
types:
- opened
- synchronize
- edited

jobs:
validate_title:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/testflinger-contrib-dss-regression.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Data Science Stack (DSS) Regression Testing
permissions:
contents: read
on:
workflow_dispatch:
# schedule:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-checkbox-ng.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test checkbox-ng with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-checkbox-support.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test checkbox-support with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-contrib-pc-sanity.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test pc-sanity (from contrib area) with tox

permissions:
contents: read
on:
workflow_dispatch:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-contrib-provider-ce-oem.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test provider-ce-oem (from contrib area) with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-contrib-provider-dss.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test checkbox-provider-dss (from contrib area) with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-provider-base.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test provider-base with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-provider-certification-client.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test provider-certification-client with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-provider-certification-server.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test provider-certification-server with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-provider-docker.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test provider-docker with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-provider-genio.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test provider-genio with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-provider-gpgpu.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test provider-gpgpu with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-provider-iiotg.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test Intel IOTG provider with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-provider-resource.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test provider-resource with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-provider-sru.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test provider-sru with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-provider-tpm2.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test provider-tpm2 with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-provider-tutorial.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test provider-tutorial with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tox-tools-release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test release tools with tox

permissions:
contents: read
on:
push:
branches: [ main ]
Expand Down
Loading