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
12 changes: 6 additions & 6 deletions internal/templates/.github/workflows/pr.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:

jobs:
setup-webkit:
runs-on: ubuntu-latest
runs-on: ubuntu-slim
outputs:
version: {{ ghExpr "steps.version.outputs.version" }}
steps:
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
if-no-files-found: error
secret-scan:
name: gitleaks
runs-on: ubuntu-latest
runs-on: ubuntu-slim
steps:
- name: Checkout Repository
uses: actions/checkout@v5
Expand All @@ -67,7 +67,7 @@ jobs:
GITHUB_TOKEN: {{ ghSecret "GITHUB_TOKEN" }}
GITLEAKS_LICENSE: {{ ghSecret "ORG_GITLEAKS_LICENSE" }}
detect-changes:
runs-on: ubuntu-latest
runs-on: ubuntu-slim
outputs:
{{- range .Apps }}
{{ .Name }}-changed: {{ ghExpr (printf "steps.filter.outputs.%s" .Name) }}
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
- 'turbo.json'

drift-detection:
runs-on: ubuntu-latest
runs-on: ubuntu-slim
needs: setup-webkit
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
echo "Run 'webkit update' to sync your project with the latest templates"
exit 1
app-json-diff:
runs-on: ubuntu-latest
runs-on: ubuntu-slim
needs: setup-webkit
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -327,7 +327,7 @@ jobs:
issue-number: {{ ghExpr "github.event.pull_request.number" }}
private-key: {{ ghSecret "ORG_GITHUB_APP_PRIVATE_KEY" }}
validate-app-json:
runs-on: ubuntu-latest
runs-on: ubuntu-slim
needs: setup-webkit
steps:
- name: Checkout Repository
Expand Down
8 changes: 4 additions & 4 deletions internal/templates/.github/workflows/release.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
jobs:
# Setup WebKit CLI
setup-webkit:
runs-on: ubuntu-latest
runs-on: ubuntu-slim
outputs:
version: {{ ghExpr "steps.version.outputs.version" }}
steps:
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:

# Remove Unwanted Containers
cleanup-containers:
runs-on: ubuntu-latest
runs-on: ubuntu-slim
needs: build-and-push
permissions:
packages: write
Expand Down Expand Up @@ -391,7 +391,7 @@ jobs:

# Notify Slack on successful release
notify-success:
runs-on: ubuntu-latest
runs-on: ubuntu-slim
needs: [{{- $first := true }}{{- range $app := .Apps }}{{- if and (eq $app.Infra.Provider "digitalocean") (eq $app.Infra.Type "container") }}{{- if not $first }}, {{ end }}{{- $first = false }}deploy-app-{{ $app.Name }}{{- else if and (or (eq $app.Infra.Provider "digitalocean") (eq $app.Infra.Provider "hetzner")) (eq $app.Infra.Type "vm") }}{{- if not $first }}, {{ end }}{{- $first = false }}deploy-vm-{{ $app.Name }}{{- end }}{{- end }}]
if: success()
steps:
Expand All @@ -418,7 +418,7 @@ jobs:

# Notify Slack on release failure
notify-failure:
runs-on: ubuntu-latest
runs-on: ubuntu-slim
needs: [build-and-push{{- range $app := .Apps }}{{- if and (eq $app.Infra.Provider "digitalocean") (eq $app.Infra.Type "container") }}, deploy-app-{{ $app.Name }}{{- else if and (or (eq $app.Infra.Provider "digitalocean") (eq $app.Infra.Provider "hetzner")) (eq $app.Infra.Type "vm") }}, deploy-vm-{{ $app.Name }}{{- end }}{{- end }}]
if: failure()
steps:
Expand Down
Loading