bird-chinese-community/setup-birdcc
Set up GitHub Actions jobs for linting, formatting, and parse-checking BIRD configs.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Apr 18, 2026
- License
- MIT
Pinned Snippet
uses: bird-chinese-community/setup-birdcc@8457cfc198d2e3de7cb1cf3bf441772ef895e6c0 # v1.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| checkout | Run actions/checkout before setting up the toolchain. | no | true |
| fetch-depth | Git fetch depth for checkout. Use 0 for Turbo affected detection. | no | 0 |
| submodules | Checkout submodules mode passed to actions/checkout. | no | false |
| submodule-paths | Newline or comma separated submodule paths to initialize with depth 1. | no | "" |
| submodule-timeout | Timeout in seconds for each submodule git operation. Defaults to 120. | no | 120 |
| node-version | Node.js version to install. | no | 22 |
| pnpm-version | pnpm version to install. | no | 10.18.3 |
| registry-url | npm registry URL for actions/setup-node. | no | https://registry.npmjs.org |
| working-directory | Directory where dependency installation should run. | no | . |
| install-dependencies | Install pnpm dependencies. | no | true |
| install-command | Dependency installation command. | no | pnpm install --frozen-lockfile --prefer-offline |
| cache-turbo | Restore and save the Turbo cache. | no | true |
| turbo-cache-path | Turbo cache path relative to working-directory. | no | .turbo |
| install-rust | Install a Rust toolchain for packages such as dprint-plugin-bird. | no | false |
| rust-toolchain | Rust toolchain to install. | no | stable |
| rust-components | Comma separated Rust components to install. | no | rustfmt,clippy |
| rust-targets | Comma separated Rust targets to install. | no | wasm32-unknown-unknown |
| install-bird | Install a BIRD binary for bird -p validation. | no | true |
| bird-version | BIRD major version to install. Supported values are 2 and 3. | no | 2 |
| bird-package-source | Package source for BIRD. Supported values are auto, ubuntu, and cznic. | no | auto |
| harden-runner | Enable step-security/harden-runner. | no | false |
| harden-runner-egress-policy | Egress policy passed to harden-runner. | no | audit |
Outputs
| name | description |
|---|---|
| bird-bin | Path to the installed BIRD binary. |
| bird-version | Installed BIRD version output. |
| turbo-cache-hit | Whether the Turbo cache was restored from an exact cache key. |
| changed-config-files | Newline-separated list of changed BIRD config files detected via git diff. Empty when fetch-depth is not 0 or no PR context. |