Skip to content

Modern Docker Management, Designed for Everyone

ci/cd: update depot ci workflows

Kyle Mendell3ad8ae3682eb
diff --git a/.depot/workflows/build-next-images.yml b/.depot/workflows/build-next-images.yml
index 1846f6dfc..b004d5866 100644
--- a/.depot/workflows/build-next-images.yml
+++ b/.depot/workflows/build-next-images.yml
@@ -17,7 +17,7 @@ permissions:
jobs:
build-next-images:
- runs-on: depot-ubuntu-24.04-32
+ runs-on: depot-ubuntu-latest
env:
MANAGER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/arcane
@@ -33,7 +33,7 @@ jobs:
run_install: false
- name: Setup Just
- uses: extractions/setup-just@v3
+ run: curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | sudo bash -s -- --to /usr/local/bin
- name: Setup Node.js
uses: actions/setup-node@v6
@@ -57,11 +57,6 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- - name: Setup depot buildx driver
- id: setup-buildx-driver
- run: |
- depot configure-docker
-
- name: Set Short Git Commit SHA
id: vars
run: |
@@ -71,13 +66,13 @@ jobs:
uses: goreleaser/goreleaser-action@v7
with:
distribution: goreleaser-pro
- version: "~> v2"
+ version: '~> v2'
args: release --clean --skip=sign,announce,validate,nfpm,homebrew
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- BUILD_NEXT: "true"
- SKIP_RELEASE: "true"
- SKIP_CHANGELOG: "true"
+ BUILD_NEXT: 'true'
+ SKIP_RELEASE: 'true'
+ SKIP_CHANGELOG: 'true'
GORELEASER_CURRENT_TAG: next-static-${{ steps.vars.outputs.sha_short }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
R2_ACCESS_KEY: ${{ secrets.R2_ACCESS_KEY }}
diff --git a/.depot/workflows/ci.yml b/.depot/workflows/ci.yml
index e3b7c149b..14d6bff48 100644
--- a/.depot/workflows/ci.yml
+++ b/.depot/workflows/ci.yml
@@ -20,7 +20,7 @@ concurrency:
jobs:
go-tests:
name: Go Tests (${{ matrix.module.name }})
- runs-on: depot-ubuntu-24.04-32
+ runs-on: depot-ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
@@ -77,7 +77,7 @@ jobs:
go-linter:
name: Go Linter (${{ matrix.module.name }})
- runs-on: depot-ubuntu-24.04-16
+ runs-on: depot-ubuntu-latest
strategy:
fail-fast: false
matrix:
@@ -186,7 +186,7 @@ jobs:
svelte-check:
name: Svelte Type Check
- runs-on: depot-ubuntu-24.04-8
+ runs-on: depot-ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
@@ -218,7 +218,7 @@ jobs:
e2e-tests:
name: E2E Tests (${{ matrix.database.name }})
if: ${{ github.head_ref != 'l10n_crowdin' }}
- runs-on: depot-ubuntu-24.04-32
+ runs-on: depot-ubuntu-latest
permissions:
contents: read
actions: write
@@ -254,12 +254,6 @@ jobs:
node-version: 25
cache: pnpm
- - name: Set up Depot CLI
- uses: depot/setup-action@v1
-
- - name: Setup depot buildx driver
- run: depot configure-docker
-
- name: Cache Playwright Browsers
uses: actions/cache@v5
id: playwright-cache
diff --git a/.depot/workflows/pr-quality.yml b/.depot/workflows/pr-quality.yml
index b607657af..ed2c22ae5 100644
--- a/.depot/workflows/pr-quality.yml
+++ b/.depot/workflows/pr-quality.yml
@@ -1,107 +1,107 @@
name: PR Quality
permissions:
- contents: read
- issues: read
- pull-requests: write
+ contents: read
+ issues: read
+ pull-requests: write
on:
- pull_request_target:
- types: [opened, reopened]
+ pull_request_target:
+ types: [opened, reopened]
jobs:
- pr-quality:
- runs-on: ubuntu-latest
- steps:
- - uses: peakoss/anti-slop@v0
- with:
- # General Settings
- max-failures: 4
-
- # PR Branch Checks
- allowed-target-branches: "main"
- blocked-target-branches: ""
- allowed-source-branches: ""
- blocked-source-branches: ""
-
- # PR Quality Checks
- max-negative-reactions: 0
- require-maintainer-can-modify: true
-
- # PR Title Checks
- require-conventional-title: true
-
- # PR Description Checks
- require-description: true
- max-description-length: 2500
- max-emoji-count: 0
- max-code-references: 0
- require-linked-issue: false
- blocked-terms: ""
- blocked-issue-numbers: ""
-
- # PR Template Checks
- require-pr-template: true
- strict-pr-template-sections: ""
- optional-pr-template-sections: "Issues"
- max-additional-pr-template-sections: 3
-
- # Commit Message Checks
- max-commit-message-length: 500
- require-conventional-commits: false
- require-commit-author-match: true
- blocked-commit-authors: ""
-
- # File Checks
- allowed-file-extensions: ""
- allowed-paths: ""
- blocked-paths: |
- SECURITY.md
- LICENSE
- require-final-newline: false
- max-added-comments: 0
-
- # User Checks
- detect-spam-usernames: true
- min-account-age: 30
- max-daily-forks: 7
- min-profile-completeness: 4
-
- # Merge Checks
- min-repo-merged-prs: 0
- min-repo-merge-ratio: 0
- min-global-merge-ratio: 30
- global-merge-ratio-exclude-own: false
-
- # Exemptions
- exempt-draft-prs: false
- exempt-bots: |
- actions-user
- dependabot[bot]
- renovate[bot]
- github-actions[bot]
- getarcaneappbot
- exempt-users: ""
- exempt-author-association: "OWNER,MEMBER,COLLABORATOR"
- exempt-label: "quality/exempt"
- exempt-pr-label: ""
- exempt-all-milestones: false
- exempt-all-pr-milestones: false
- exempt-milestones: ""
- exempt-pr-milestones: ""
-
- # PR Success Actions
- success-add-pr-labels: "quality/verified"
-
- # PR Failure Actions
- failure-remove-pr-labels: ""
- failure-remove-all-pr-labels: true
- failure-add-pr-labels: "quality/rejected"
- failure-pr-message: |
- This PR did not pass quality checks so it will be closed.
- See the [workflow run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}) for details on which checks failed.
-
- If you believe this is a mistake please let us know.
-
- close-pr: true
- lock-pr: false
+ pr-quality:
+ runs-on: depot-ubuntu-latest
+ steps:
+ - uses: peakoss/anti-slop@v0
+ with:
+ # General Settings
+ max-failures: 4
+
+ # PR Branch Checks
+ allowed-target-branches: 'main'
+ blocked-target-branches: ''
+ allowed-source-branches: ''
+ blocked-source-branches: ''
+
+ # PR Quality Checks
+ max-negative-reactions: 0
+ require-maintainer-can-modify: true
+
+ # PR Title Checks
+ require-conventional-title: true
+
+ # PR Description Checks
+ require-description: true
+ max-description-length: 2500
+ max-emoji-count: 0
+ max-code-references: 0
+ require-linked-issue: false
+ blocked-terms: ''
+ blocked-issue-numbers: ''
+
+ # PR Template Checks
+ require-pr-template: true
+ strict-pr-template-sections: ''
+ optional-pr-template-sections: 'Issues'
+ max-additional-pr-template-sections: 3
+
+ # Commit Message Checks
+ max-commit-message-length: 500
+ require-conventional-commits: false
+ require-commit-author-match: true
+ blocked-commit-authors: ''
+
+ # File Checks
+ allowed-file-extensions: ''
+ allowed-paths: ''
+ blocked-paths: |
+ SECURITY.md
+ LICENSE
+ require-final-newline: false
+ max-added-comments: 0
+
+ # User Checks
+ detect-spam-usernames: true
+ min-account-age: 30
+ max-daily-forks: 7
+ min-profile-completeness: 4
+
+ # Merge Checks
+ min-repo-merged-prs: 0
+ min-repo-merge-ratio: 0
+ min-global-merge-ratio: 30
+ global-merge-ratio-exclude-own: false
+
+ # Exemptions
+ exempt-draft-prs: false
+ exempt-bots: |
+ actions-user
+ dependabot[bot]
+ renovate[bot]
+ github-actions[bot]
+ getarcaneappbot
+ exempt-users: ''
+ exempt-author-association: 'OWNER,MEMBER,COLLABORATOR'
+ exempt-label: 'quality/exempt'
+ exempt-pr-label: ''
+ exempt-all-milestones: false
+ exempt-all-pr-milestones: false
+ exempt-milestones: ''
+ exempt-pr-milestones: ''
+
+ # PR Success Actions
+ success-add-pr-labels: 'quality/verified'
+
+ # PR Failure Actions
+ failure-remove-pr-labels: ''
+ failure-remove-all-pr-labels: true
+ failure-add-pr-labels: 'quality/rejected'
+ failure-pr-message: |
+ This PR did not pass quality checks so it will be closed.
+ See the [workflow run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}) for details on which checks failed.
+
+ If you believe this is a mistake please let us know.
+
+ close-pr: true
+ lock-pr: false
diff --git a/.depot/workflows/sync-go-workspace.yml b/.depot/workflows/sync-go-workspace.yml
index 95e7b4ade..f5887a4c6 100644
--- a/.depot/workflows/sync-go-workspace.yml
+++ b/.depot/workflows/sync-go-workspace.yml
@@ -1,46 +1,46 @@
name: Dependabot Go Workspaces Tidy
on:
- pull_request:
- branches:
- - main
- - "release/**"
- types: [opened, synchronize, reopened]
- paths:
- - backend/go.mod
- - backend/go.sum
- - types/go.mod
- - types/go.sum
- - cli/go.mod
- - cli/go.sum
- - go.work
- - go.work.sum
+ pull_request:
+ branches:
+ - main
+ - 'release/**'
+ types: [opened, synchronize, reopened]
+ paths:
+ - backend/go.mod
+ - backend/go.sum
+ - types/go.mod
+ - types/go.sum
+ - cli/go.mod
+ - cli/go.sum
+ - go.work
+ - go.work.sum
jobs:
- tidy:
- runs-on: ubuntu-latest
- if: ${{ github.actor == 'dependabot[bot]' }}
- steps:
- - name: Checkout repository
- uses: actions/checkout@v6
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
+ tidy:
+ runs-on: depot-ubuntu-latest
+ if: ${{ github.actor == 'dependabot[bot]' }}
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v6
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
- - name: Set up Go
- uses: actions/setup-go@v6
- with:
- go-version-file: backend/go.mod
- cache-dependency-path: |
- backend/go.sum
- cli/go.sum
- types/go.sum
- go.work.sum
+ - name: Set up Go
+ uses: actions/setup-go@v6
+ with:
+ go-version-file: backend/go.mod
+ cache-dependency-path: |
+ backend/go.sum
+ cli/go.sum
+ types/go.sum
+ go.work.sum
- - name: Run go work sync and go mod tidy
- run: |
- go work sync
+ - name: Run go work sync and go mod tidy
+ run: |
+ go work sync
- - name: Commit changes (if any)
- uses: stefanzweifel/git-auto-commit-action@v7
- with:
- commit_message: "chore(deps): Synchronize go.mod files via go work sync"
- branch: ${{ github.head_ref }}
+ - name: Commit changes (if any)
+ uses: stefanzweifel/git-auto-commit-action@v7
+ with:
+ commit_message: 'chore(deps): Synchronize go.mod files via go work sync'
+ branch: ${{ github.head_ref }}