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
4 changes: 2 additions & 2 deletions .github/workflows/alert-discord.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
runs_on:
required: false
type: string
default: "self-hosted"
default: '["self-hosted", "singlethreaded"]'
secrets:
DISCORD_WEBHOOK_URL:
description: "The Discord Webhook URL."
Expand All @@ -36,7 +36,7 @@ on:

jobs:
send-discord-alert:
runs-on: ${{ inputs.runs_on }}
runs-on: ${{ fromJSON(inputs.runs_on) }}
name: Send Alert to Discord
steps:
# This step assumes artifacts are already in the workspace (e.g., from a previous job or checked out code).
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gh-pr-assignees.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
runs_on:
required: false
type: string
default: "self-hosted"
default: '["self-hosted", "singlethreaded"]'
secrets:
gh_token:
description: "GitHub token with permissions to read repo data and write to PRs (assign users)."
Expand All @@ -29,7 +29,7 @@ on:
jobs:
assign_commit_authors:
name: Assign Commit Authors
runs-on: ${{ inputs.runs_on }}
runs-on: ${{ fromJSON(inputs.runs_on) }}
steps:
- name: Get PR Commit Author Logins
id: get_authors
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gh-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
runs_on:
required: false
type: string
default: "self-hosted"
default: '["self-hosted", "singlethreaded"]'
fail_on_error:
description: "If true, the job will fail if sync operation fails."
required: false
Expand All @@ -30,7 +30,7 @@ on:
jobs:
sync-workflows:
name: Sync Workflow Files
runs-on: ${{ inputs.runs_on }}
runs-on: ${{ fromJSON(inputs.runs_on) }}
outputs:
files_synced: ${{ steps.push-changes.outputs.pushed }}
permissions:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gh-test-downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
runs_on:
required: false
type: string
default: "self-hosted"
default: '["self-hosted", "multithreaded"]'
secrets:
PAT_TOKEN:
description: "Personal Access Token for cloning/pushing to downstream repos and API calls."
Expand All @@ -22,7 +22,7 @@ on:
jobs:
stage-downstream:
name: Stage to Downstream Repositories
runs-on: ${{ inputs.runs_on }}
runs-on: ${{ fromJSON(inputs.runs_on) }}
permissions:
contents: write # To checkout repository and push changes to downstream repos
pull-requests: write # To create pull requests in downstream repos
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:

check-downstream-prs:
needs: stage-downstream
runs-on: ${{ inputs.runs_on }}
runs-on: ${{ fromJSON(inputs.runs_on) }}
steps:
- name: Download PR data
uses: actions/download-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-py-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
runs_on:
required: false
type: string
default: "self-hosted"
default: '["self-hosted", "singlethreaded"]'
secrets:
TWINE_USERNAME:
description: "Twine username (usually __token__ for API tokens)"
Expand All @@ -33,7 +33,7 @@ on:
jobs:
build-and-publish:
name: Build and Publish to PyPI
runs-on: ${{ inputs.runs_on }}
runs-on: ${{ fromJSON(inputs.runs_on) }}
defaults:
run:
working-directory: ${{ inputs.working-directory }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ on:
runs_on:
required: false
type: string
default: "self-hosted"
default: '["self-hosted", "singlethreaded"]'
permissions:
contents: read # To checkout the repository
pages: write # To deploy to GitHub Pages
Expand All @@ -40,7 +40,7 @@ permissions:
jobs:
build-and-deploy-storybook:
name: Build and Deploy Storybook
runs-on: ${{ inputs.runs_on }}
runs-on: ${{ fromJSON(inputs.runs_on) }}
defaults:
run:
working-directory: ${{ inputs.working-directory }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-ts-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
runs_on:
required: false
type: string
default: "self-hosted"
default: '["self-hosted", "singlethreaded"]'
secrets:
NPM_TOKEN:
description: "NPM authentication token"
Expand All @@ -35,7 +35,7 @@ on:
jobs:
build-and-publish:
name: Build and Publish to npm
runs-on: ${{ inputs.runs_on }}
runs-on: ${{ fromJSON(inputs.runs_on) }}
defaults:
run:
working-directory: ${{ inputs.working-directory }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ on:
runs_on:
required: false
type: string
default: "ubuntu-latest"
default: '["ubuntu-latest"]'

jobs:
sync:
runs-on: ${{ inputs.runs_on }}
runs-on: ${{ fromJSON(inputs.runs_on) }}
steps:
- name: Checkout source repo (self)
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-py-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ on:
runs_on:
required: false
type: string
default: "self-hosted"
default: '["self-hosted", "multithreaded"]'
outputs:
auto_formatted:
description: "Whether Black auto-formatted files and pushed changes."
value: ${{ jobs.lint.outputs.auto_formatted }}

jobs:
lint:
runs-on: self-hosted
runs-on: ${{ fromJSON(inputs.runs_on) }}
name: Python Black Lint Check
outputs:
auto_formatted: ${{ steps.push-changes.outputs.pushed }}
Expand Down