Skip to content
Draft
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
2 changes: 1 addition & 1 deletion .github/workflows/blog-3day-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ concurrency:
jobs:
report:
name: Daily 3-day traffic digest
if: github.repository == 'nexu-io/open-design'
if: (github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)) && github.repository == 'nexu-io/open-design'
runs-on: ubuntu-latest
timeout-minutes: 10

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/blog-indexing-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ concurrency:
jobs:
monitor:
name: Monitor recent blog URLs
if: github.repository == 'nexu-io/open-design'
if: (github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)) && github.repository == 'nexu-io/open-design'
runs-on: ubuntu-latest
timeout-minutes: 15

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/blog-indexing-on-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
index:
name: Index newly deployed blog posts
if: >-
(github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name))
&&
github.repository == 'nexu-io/open-design'
&& (
github.event_name == 'workflow_dispatch'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ concurrency:

jobs:
change_scopes:
if: github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)
name: Detect CI change scopes
runs-on: ubuntu-latest
outputs:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/contributor-card-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ name: Contributor Card Bot
# want to recognize. They can be re-added later via a workflow_run handoff.
on:
pull_request_target:
branches:
- development
- test
- main
types: [closed]
issues:
types: [opened]
Expand Down Expand Up @@ -40,6 +44,7 @@ jobs:
recognize:
name: Render and post contributor card
if: |
(github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)) &&
github.repository == 'nexu-io/open-design' &&
(
(github.event_name == 'pull_request_target' && github.event.pull_request.merged == true) ||
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/critique-conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ on:

jobs:
run:
if: github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)
name: nightly conformance + ratchet snapshot
runs-on: ubuntu-latest
timeout-minutes: 30
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@ name: Docker image

# Phase 5 / spec §15.5 — multi-arch image builds.
#
# Pushes to ghcr.io on:
# - tag (v*.*.*) → ghcr.io/<owner>/od:<tag> + :latest
# Pushes to ghcr.io when run manually for a selected ref.

on:
push:
tags: ['v*.*.*']
workflow_dispatch:

jobs:
build-and-push:
if: github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/landing-page-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: landing-page-ci

on:
pull_request:
branches:
- development
- test
- main
paths:
# Workflow files
- .github/workflows/landing-page-ci.yml
Expand Down Expand Up @@ -48,6 +52,7 @@ concurrency:

jobs:
validate:
if: github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)
name: Validate landing page
runs-on: ubuntu-latest
timeout-minutes: 20
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/landing-page-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ concurrency:
jobs:
deploy:
name: Deploy landing page
if: github.repository == 'nexu-io/open-design'
if: (github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)) && github.repository == 'nexu-io/open-design'
runs-on: ubuntu-latest
timeout-minutes: 20

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:
jobs:
metrics:
name: Generate repository metrics SVG
if: github.repository == 'nexu-io/open-design'
if: (github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)) && github.repository == 'nexu-io/open-design'
runs-on: ubuntu-latest
steps:
- name: Generate Open Design bot token
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nix-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ permissions:

jobs:
build:
if: github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-author-inactivity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ concurrency:

jobs:
triage:
if: github.repository == 'nexu-io/open-design'
if: (github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)) && github.repository == 'nexu-io/open-design'
runs-on: ubuntu-latest
steps:
- name: Remind or close inactive PRs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/refresh-contributors-wall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:
jobs:
refresh:
name: Refresh contributors wall cache bust
if: github.repository == 'nexu-io/open-design'
if: (github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)) && github.repository == 'nexu-io/open-design'
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ env:
jobs:
metadata:
name: Prepare beta metadata
if: github.repository == 'nexu-io/open-design'
if: (github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)) && github.repository == 'nexu-io/open-design'
runs-on: ubuntu-latest
env:
OPEN_DESIGN_BETA_METADATA_URL: ${{ vars.CLOUDFLARE_R2_RELEASES_PUBLIC_ORIGIN }}/beta/latest/metadata.json
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ env:

jobs:
metadata:
if: github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)
name: Prepare preview metadata
runs-on: ubuntu-latest
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ env:
jobs:
metadata:
name: Prepare release metadata
if: github.repository == 'nexu-io/open-design'
if: (github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)) && github.repository == 'nexu-io/open-design'
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/seo-daily-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ concurrency:
jobs:
report:
name: Post SEO daily report to Feishu
if: github.repository == 'nexu-io/open-design'
if: (github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)) && github.repository == 'nexu-io/open-design'
runs-on: ubuntu-latest
timeout-minutes: 10

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ concurrency:

jobs:
stale:
if: github.repository == 'nexu-io/open-design'
if: (github.event_name != 'workflow_dispatch' || contains(fromJSON('["development","test","main"]'), github.ref_name)) && github.repository == 'nexu-io/open-design'
runs-on: ubuntu-latest
steps:
- name: Exempt org-member issues from staling
Expand Down