Skip to content

Catalog Explorer

Filter all 790 encyclopedia entries by kind, platform, tool, difficulty, or keyword.

Showing 60 of 790 matching entries
CICD-001snippet
Run on every push
Push a commit and confirm one Actions run is created.
github-actionsgitea-actionstriggersfoundation
CICD-002snippet
Limit pushes to main
Push to main and a feature branch. Only the former should trigger.
github-actionsgitea-actionstriggersfoundation
CICD-003snippet
Verify pull requests targeting main
The branch filter matches the target branch. Open a PR and check its run.
github-actionsgitea-actionstriggersfoundation
CICD-004snippet
Select pull request activity types
Push another commit to the PR and inspect the synchronize event.
github-actionsgitea-actionstriggersfoundation
CICD-005snippet
Launch a manual run
Put the workflow on the default branch. Use Actions to start it on a selected ref.
github-actionsgitea-actionstriggersfoundation
CICD-006snippet
Select a manual target
Read inputs.target in a job and test both values. Check Gitea support for typed choices.
github-actionsgitea-actionstriggersfoundation
CICD-007snippet
Schedule a weekly check
Interpret UTC and expect best-effort timing on the default branch.
github-actionsgitea-actionstriggersfoundation
CICD-008snippet
Trigger on version tags
Use a protected tag namespace and validate its SemVer separately.
github-actionsgitea-actionstriggersfoundation
CICD-009snippet
Filter service paths
Push a change in each watched input. Keep required gate checks discoverable.
github-actionsgitea-actionstriggersfoundation
CICD-010snippet
Handle published releases
Observe github.event.release.tag_name from a published test release.
github-actionsgitea-actionstriggersfoundation
CICD-011snippet
React to a completed workflow
GitHub runs this on failure too. Filter by conclusion at job scope before privileged operations.
github-actionsgitea-actionstriggersfoundation
CICD-012snippet
Name runs by actor and ref
Read the changed title in Actions. Confirm run-name support on the Gitea version in use.
github-actionsgitea-actionstriggersfoundation
CICD-013snippet
Select an Ubuntu runner
Confirm the queue finds the configured label. A Gitea label maps to its configured executor.
github-actionsgitea-actionsjobsfoundation
CICD-014snippet
Probe execution context
Compare runner host and container output to identify the execution environment.
local-linuxgithub-actionsgitea-actionsjobsfoundation
CICD-015snippet
Check out the triggering commit
Check for .git and verify git rev-parse HEAD. PR runs may check out a merge ref.
github-actionsgitea-actionsjobsfoundation
CICD-016snippet
Check out full history
Use merge-base on fetched refs rather than assuming an ancestor exists in a shallow clone.
github-actionsgitea-actionsjobsfoundation
CICD-017snippet
Define a job dependency
Add to the build job. It starts after both upstream jobs succeed.
github-actionsgitea-actionsjobsfoundation
CICD-018snippet
Run sibling jobs in parallel
Place under jobs and inspect independent queueing. Shared runner capacity may serialize them.
github-actionsgitea-actionsjobsfoundation
CICD-019snippet
Run work inside a job container
A container-capable Linux runner is required. Verify the image actually provides the executable.
github-actionsgitea-actionsjobsfoundation
CICD-020snippet
Set a job timeout
Bound a job that can hang. Use a short disposable proof job to observe late-step cancellation.
github-actionsgitea-actionsjobsfoundation
CICD-021snippet
Make an experimental job non-blocking
Apply only to an experimental job. Confirm branch protection requires stable checks separately.
github-actionsgitea-actionsjobsfoundation
CICD-022snippet
Use a protected deployment environment
Configure actual environment protection in the platform and verify when the job pauses.
github-actionsjobsfoundation
CICD-023snippet
Set shell defaults for run steps
Provision the directory with checkout first. Action steps retain their own working directory.
github-actionsgitea-actionsbashjobsfoundation
CICD-024snippet
Prioritize new checks on a branch
Verify a new push cancels a running obsolete PR check. Scope group names to avoid collisions.
github-actionsgitea-actionsjobsfoundation
CICD-025snippet
Pass a file path through a step variable
Set the file from the producer and prove the consumer fails if it is absent.
github-actionsgitea-actionsdata-flowfoundation
CICD-026snippet
Use a repository configuration variable
Configure a non-secret repository variable with exact spelling. Empty configuration should fail visibly.
github-actionsgitea-actionsdata-flowfoundation
CICD-027snippet
Write a variable for later steps
Observe BUILD_MODE in a later step in the same job.
local-linuxgithub-actionsgitea-actionsdata-flowfoundation
CICD-028snippet
Add a private tool directory to PATH
Put a checked executable in this directory and use it only in later steps.
local-linuxgithub-actionsgitea-actionsdata-flowfoundation
CICD-029snippet
Emit a producer step output
Set an ID on the producer and read steps.ID.outputs.image_tag.
local-linuxgithub-actionsgitea-actionsdata-flowfoundation
CICD-030snippet
Pass an output across jobs
Declare digest in the producer's job outputs and distinguish it from a missing artifact.
github-actionsgitea-actionsdata-flowfoundation
CICD-031snippet
Write a readable run summary
The job summary should show the commit without downloading a log file.
local-linuxgithub-actionsgitea-actionsdata-flowfoundation
CICD-032snippet
Use step outcome for diagnostics
Set the producer ID to tests. outcome reports pre-continue-on-error status.
github-actionsgitea-actionsdata-flowfoundation
CICD-033snippet
Avoid shell interpolation of event fields
Quoting treats the title as data. Keep untrusted strings out of shell source.
github-actionsgitea-actionsdata-flowfoundation
CICD-034snippet
Generate compact JSON for a matrix
Consume with fromJSON on the output. Raw multiline JSON breaks a single-line output protocol.
local-linuxgithub-actionsgitea-actionsdata-flowjqfoundation
CICD-035snippet
Validate secret configuration without printing it
Use in a trusted deployment job only. Fork PRs may have no value.
github-actionsgitea-actionsdata-flowfoundation
CICD-036snippet
Test two Python releases
Install matrix.python in each job. Expect two independently visible results.
github-actionsgitea-actionsmatrixpythonfoundation
CICD-037snippet
Matrix across operating systems
Use portable shell commands or explicit per-OS steps.
github-actionsgitea-actionsmatrixfoundation
CICD-038snippet
Exclude an incompatible combination
The matrix yields three jobs. Explain the omitted compatibility combination in the repository.
github-actionsgitea-actionsmatrixpythonfoundation
CICD-039snippet
Include an independent experimental tuple
The experimental row provides evidence without weakening the supported row.
github-actionsgitea-actionsmatrixpythonfoundation
CICD-040snippet
Retain failing matrix logs from other rows
A stable failure does not cancel the other active row.
github-actionsgitea-actionsmatrixfoundation
CICD-041snippet
Cap concurrent matrix jobs
Observe a maximum of two running rows per job strategy.
github-actionsgitea-actionsmatrixfoundation
CICD-042snippet
Give matrix artifact names unique suffixes
With two dimensions, both values must be present in the name.
github-actionsmatrixpythonfoundation
CICD-043snippet
Split pytest by stable file set
Set SHARD from 0 through 3 and ensure one row contains every intended file exactly once. Use simple fixture filenames.
local-linuxgithub-actionsgitea-actionsmatrixpytestfoundation
CICD-044snippet
Record matrix context safely
Use for non-secret matrix data. Compare output across rows.
github-actionsgitea-actionsmatrixfoundation
CICD-045snippet
Select a matrix from explicit JSON
Configure needs: plan on the job. A compact JSON object with at least one dimension is required.
github-actionsgitea-actionsmatrixfoundation
CICD-046snippet
Keep the required result after sharding
Protect this named check and prove a failed shard fails the aggregate.
github-actionsgitea-actionsmatrixfoundation
CICD-047snippet
Store a workflow at the Gitea entry point
Verify the workflow is tracked in the expected directory and compare it to Actions UI.
gitea-actionsgiteagitea-foundationfoundation
CICD-048snippet
Discover available runner labels
Generated labels are defaults. Check the running runner's configuration and server UI for authoritative state.
gitea-actionsgitea-foundationfoundation
CICD-049snippet
Check Gitea access from a job
Use the URL reachable from the actual job container rather than 127.0.0.1 on the host.
gitea-actionscurlgiteafoundation
CICD-050snippet
Select an explicit external action source
Verify the trusted Gitea runner can reach and download this action. Prefer reviewed SHA pins in production.
gitea-actionsgitea-foundationfoundation
CICD-051snippet
Verify default branch execution
Push a benign commit to main and check the trigger in the Gitea run details.
gitea-actionsgitea-foundationfoundation
CICD-052snippet
Use uv with a committed lockfile
Dependency drift must fail instead of silently updating uv.lock.
gitea-actionsgitea-foundationpytestfoundation
CICD-053snippet
Check Gitea runner user and workspace
The ID means user identity in the executor, which can differ from the host.
gitea-actionsgitea-foundationfoundation
CICD-054snippet
Read runner-local diagnostics
Run on the authorized runner host and scrub addresses or secrets before sharing logs.
gitea-actionsdockergiteafoundation
CICD-055snippet
Check container runtime availability
Run on the trusted host. Socket access indicates substantial privileges.
gitea-actionsdockergitea-foundationfoundation
CICD-056snippet
Preflight artifact support
Use only on a release that supports this artifact protocol. GitHub.com retired v3 and uses v4.
gitea-actionsgitea-foundationfoundation
CICD-057snippet
Distinguish host DNS from job DNS
Run in a job and inspect resolver settings. Local multicast DNS commonly differs from container DNS.
gitea-actionsgiteagitea-foundationfoundation
CICD-058snippet
Install with pip hash verification
Lock transitive requirements and hashes before CI. A modified distribution is rejected.
local-linuxgithub-actionsgitea-actionspythonfoundation
CICD-059snippet
Require a current uv lock
Simulate a pyproject change and verify the check fails on stale lock state.
local-linuxgithub-actionsgitea-actionspythonuvfoundation
CICD-060snippet
Run tests using uv
Ensure pytest is in the declared default dev group and test exact path discovery.
local-linuxgithub-actionsgitea-actionspytestpythonfoundation