``` ├── .github/ ├── RELEASE.md ├── workflows/ ├── build.yml ├── release.yml ├── rust.yml ├── .gitignore ├── .gitlab-ci.yml ├── Cargo.lock ├── Cargo.toml ├── GITLAB_USAGE.md ├── LICENSE ├── README.md ├── cliff.toml ├── demo.cast ├── demo.gif ├── examples/ ├── cpp-test.yml ├── example.yml ├── matrix-example.yml ├── node-test.yml ├── python-test.yml ├── rust-test.yml ├── test.yml ├── trigger_gitlab.sh ├── schemas/ ├── github-workflow.json ├── src/ ├── cleanup_test.rs ``` ## /.github/RELEASE.md # Release Process This document outlines the steps for creating a new release of wrkflw. ## Automatic Release Process The project uses a GitHub Actions workflow to automate the release process. Here's how it works: 1. Tag a new version with Git: ```bash git tag -a v0.x.y -m "Release v0.x.y" ``` 2. Push the tag to GitHub: ```bash git push origin v0.x.y ``` 3. The GitHub Actions workflow will automatically: - Build release binaries for multiple platforms (Linux, macOS, Windows) - Generate a changelog using git-cliff - Create a GitHub release with the changelog and binaries - Upload the release artifacts ## Commit Message Format To ensure proper changelog generation, please follow the conventional commit format for your commit messages: - `feat: add new feature` - for new features - `fix: resolve issue` - for bug fixes - `docs: update documentation` - for documentation updates - `style: format code` - for code style changes (no functional changes) - `refactor: improve code structure` - for code refactoring - `perf: improve performance` - for performance improvements - `test: add or update tests` - for test updates - `chore: update dependencies` - for maintenance tasks The changelog will be organized based on these commit types. ## Manual Release Steps (if needed) If you need to create a release manually: 1. Build the release binaries: ```bash cargo build --release ``` 2. Generate a changelog: ```bash git cliff --latest > CHANGELOG.md ``` 3. Create a new release on GitHub manually and upload the binaries. ## Configuration - `cliff.toml` - Configuration for git-cliff to generate changelogs - `.github/workflows/release.yml` - GitHub Actions workflow for releases ## /.github/workflows/build.yml ```yml path="/.github/workflows/build.yml" name: Build on: workflow_dispatch: push: branches: [ main ] pull_request: jobs: build: name: Build runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest] include: - os: ubuntu-latest target: x86_64-unknown-linux-gnu - os: macos-latest target: x86_64-apple-darwin steps: - name: Checkout code uses: actions/checkout@v3 - name: Setup Rust uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: stable target: ${{ matrix.target }} override: true components: clippy, rustfmt - name: Check formatting uses: actions-rs/cargo@v1 with: command: fmt args: -- --check - name: Run clippy uses: actions-rs/cargo@v1 with: command: clippy args: -- -D warnings - name: Build uses: actions-rs/cargo@v1 with: command: build args: --target ${{ matrix.target }} - name: Run tests uses: actions-rs/cargo@v1 with: command: test args: --target ${{ matrix.target }} ``` ## /.github/workflows/release.yml ```yml path="/.github/workflows/release.yml" name: Release on: push: tags: - 'v*' workflow_dispatch: inputs: version: description: 'Version to use (e.g. v1.0.0)' required: true default: 'test-release' # Add permissions at workflow level permissions: contents: write jobs: create-release: name: Create Release runs-on: ubuntu-latest # You can also set permissions at the job level if needed # permissions: # contents: write outputs: upload_url: ${{ steps.create_release.outputs.upload_url }} steps: - name: Checkout code uses: actions/checkout@v3 with: fetch-depth: 0 - name: Setup Rust uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: stable override: true - name: Install git-cliff run: | cargo install git-cliff --force - name: Generate Changelog run: git-cliff --latest --output CHANGELOG.md - name: Create Release id: create_release uses: softprops/action-gh-release@v1 with: name: "wrkflw ${{ github.event.inputs.version || github.ref_name }}" body_path: CHANGELOG.md draft: false prerelease: false tag_name: ${{ github.event.inputs.version || github.ref_name }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} build-release: name: Build Release needs: [create-release] runs-on: ${{ matrix.os }} # You can also set permissions at the job level if needed # permissions: # contents: write strategy: matrix: include: - os: ubuntu-latest target: x86_64-unknown-linux-gnu artifact_name: wrkflw asset_name: wrkflw-${{ github.event.inputs.version || github.ref_name }}-linux-x86_64 - os: macos-latest target: x86_64-apple-darwin artifact_name: wrkflw asset_name: wrkflw-${{ github.event.inputs.version || github.ref_name }}-macos-x86_64 - os: macos-latest target: aarch64-apple-darwin artifact_name: wrkflw asset_name: wrkflw-${{ github.event.inputs.version || github.ref_name }}-macos-arm64 - os: windows-latest target: x86_64-pc-windows-msvc artifact_name: wrkflw.exe asset_name: wrkflw-${{ github.event.inputs.version || github.ref_name }}-windows-x86_64 steps: - name: Checkout code uses: actions/checkout@v3 - name: Setup Rust uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: stable target: ${{ matrix.target }} override: true - name: Build Release Binary uses: actions-rs/cargo@v1 with: command: build args: --release --target ${{ matrix.target }} - name: Compress Release Binary (Unix) if: runner.os != 'Windows' run: | mkdir -p compressed cp target/${{ matrix.target }}/release/${{ matrix.artifact_name }} compressed/ cd compressed tar czvf ${{ matrix.asset_name }}.tar.gz ${{ matrix.artifact_name }} echo "ASSET=${{ matrix.asset_name }}.tar.gz" >> $GITHUB_ENV echo "ASSET_PATH=compressed/${{ matrix.asset_name }}.tar.gz" >> $GITHUB_ENV - name: Compress Release Binary (Windows) if: runner.os == 'Windows' run: | mkdir -p compressed copy target\${{ matrix.target }}\release\${{ matrix.artifact_name }} compressed\ cd compressed 7z a ${{ matrix.asset_name }}.zip ${{ matrix.artifact_name }} echo "ASSET=${{ matrix.asset_name }}.zip" >> $env:GITHUB_ENV echo "ASSET_PATH=compressed\${{ matrix.asset_name }}.zip" >> $env:GITHUB_ENV shell: pwsh - name: Upload Release Asset uses: softprops/action-gh-release@v1 with: files: ${{ env.ASSET_PATH }} tag_name: ${{ github.event.inputs.version || github.ref_name }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` ## /.github/workflows/rust.yml ```yml path="/.github/workflows/rust.yml" name: Rust on: workflow_dispatch: push: branches: [ "main" ] pull_request: branches: [ "main" ] env: CARGO_TERM_COLOR: always jobs: build: runs-on: macos-latest steps: - uses: actions/checkout@v3 - name: Build run: cargo build --verbose - name: Run tests run: cargo test --verbose ``` ## /.gitignore ```gitignore path="/.gitignore" /target ``` ## /.gitlab-ci.yml ```yml path="/.gitlab-ci.yml" # GitLab CI/CD Pipeline for wrkflw # This pipeline will build and test the Rust project stages: - lint - build - test - release variables: CARGO_HOME: ${CI_PROJECT_DIR}/.cargo RUST_VERSION: stable # Cache dependencies between jobs cache: paths: - .cargo/ - target/ # Lint job - runs rustfmt and clippy lint: stage: lint image: rust:${RUST_VERSION} script: - rustup component add rustfmt clippy - cargo fmt -- --check - cargo clippy -- -D warnings rules: - if: $CI_PIPELINE_SOURCE == "web" when: always - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH when: always - if: $CI_COMMIT_TAG when: never - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' when: always # Build job - builds the application build: stage: build image: rust:${RUST_VERSION} script: - cargo build --verbose artifacts: paths: - target/debug/wrkflw expire_in: 1 week rules: - if: $CI_PIPELINE_SOURCE == "web" when: always - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH when: always - if: $CI_COMMIT_TAG when: always - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' when: always # Test job - runs unit and integration tests test: stage: test image: rust:${RUST_VERSION} script: - cargo test --verbose needs: - build rules: - if: $CI_PIPELINE_SOURCE == "web" when: always - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH when: always - if: $CI_COMMIT_TAG when: always - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' when: always # Release job - creates a release build release: stage: release image: rust:${RUST_VERSION} script: - cargo build --release --verbose artifacts: paths: - target/release/wrkflw expire_in: 1 month rules: - if: $CI_PIPELINE_SOURCE == "web" && $BUILD_RELEASE == "true" when: always - if: $CI_COMMIT_TAG when: always - when: never # Custom job for documentation docs: stage: release image: rust:${RUST_VERSION} script: - cargo doc --no-deps artifacts: paths: - target/doc/ rules: - if: $CI_PIPELINE_SOURCE == "web" && $BUILD_DOCS == "true" when: always - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH when: always - when: never ``` ## /Cargo.lock ```lock path="/Cargo.lock" # This file is automatically @generated by Cargo. # It is not intended for manual editing. version = 4 [[package]] name = "addr2line" version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" dependencies = [ "gimli", ] [[package]] name = "adler2" version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" [[package]] name = "ahash" version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", "getrandom 0.2.15", "once_cell", "serde", "version_check", "zerocopy", ] [[package]] name = "aho-corasick" version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" dependencies = [ "memchr", ] [[package]] name = "android-tzdata" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" [[package]] name = "android_system_properties" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" dependencies = [ "libc", ] [[package]] name = "anstream" version = "0.6.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", "is_terminal_polyfill", "utf8parse", ] [[package]] name = "anstyle" version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" [[package]] name = "anstyle-parse" version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" dependencies = [ "windows-sys 0.59.0", ] [[package]] name = "anstyle-wincon" version = "3.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e" dependencies = [ "anstyle", "once_cell", "windows-sys 0.59.0", ] [[package]] name = "anyhow" version = "1.0.98" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" [[package]] name = "async-trait" version = "0.1.88" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "autocfg" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "backtrace" version = "0.3.74" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" dependencies = [ "addr2line", "cfg-if", "libc", "miniz_oxide", "object", "rustc-demangle", "windows-targets 0.52.6", ] [[package]] name = "base64" version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "bit-set" version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" dependencies = [ "bit-vec", ] [[package]] name = "bit-vec" version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" [[package]] name = "bitflags" version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" [[package]] name = "bollard" version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af254ed2da4936ef73309e9597180558821cb16ae9bba4cb24ce6b612d8d80ed" dependencies = [ "base64 0.21.7", "bollard-stubs", "bytes", "futures-core", "futures-util", "hex", "http", "hyper", "hyperlocal", "log", "pin-project-lite", "serde", "serde_derive", "serde_json", "serde_repr", "serde_urlencoded", "thiserror", "tokio", "tokio-util", "url", "winapi", ] [[package]] name = "bollard-stubs" version = "1.42.0-rc.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "602bda35f33aeb571cef387dcd4042c643a8bf689d8aaac2cc47ea24cb7bc7e0" dependencies = [ "serde", "serde_with", ] [[package]] name = "bumpalo" version = "3.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" [[package]] name = "bytecount" version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5ce89b21cab1437276d2650d57e971f9d548a2d9037cc231abdc0562b97498ce" [[package]] name = "bytes" version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" [[package]] name = "cassowary" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" [[package]] name = "cc" version = "1.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fcb57c740ae1daf453ae85f16e37396f672b039e00d9d866e07ddb24e328e3a" dependencies = [ "shlex", ] [[package]] name = "cfg-if" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" version = "0.4.40" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a7964611d71df112cb1730f2ee67324fcf4d0fc6606acbbe9bfe06df124637c" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "serde", "wasm-bindgen", "windows-link", ] [[package]] name = "clap" version = "4.5.34" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e958897981290da2a852763fe9cdb89cd36977a5d729023127095fa94d95e2ff" dependencies = [ "clap_builder", "clap_derive", ] [[package]] name = "clap_builder" version = "4.5.34" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "83b0f35019843db2160b5bb19ae09b4e6411ac33fc6a712003c33e03090e2489" dependencies = [ "anstream", "anstyle", "clap_lex", "strsim", ] [[package]] name = "clap_derive" version = "4.5.32" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09176aae279615badda0765c0c0b3f6ed53f4709118af73cf4655d85d1530cd7" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", "syn", ] [[package]] name = "clap_lex" version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" [[package]] name = "colorchoice" version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" [[package]] name = "colored" version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c" dependencies = [ "lazy_static", "windows-sys 0.59.0", ] [[package]] name = "core-foundation" version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" dependencies = [ "core-foundation-sys", "libc", ] [[package]] name = "core-foundation-sys" version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "crossbeam-deque" version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" dependencies = [ "crossbeam-epoch", "crossbeam-utils", ] [[package]] name = "crossbeam-epoch" version = "0.9.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" dependencies = [ "crossbeam-utils", ] [[package]] name = "crossbeam-utils" version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crossterm" version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a84cda67535339806297f1b331d6dd6320470d2a0fe65381e79ee9e156dd3d13" dependencies = [ "bitflags 1.3.2", "crossterm_winapi", "libc", "mio 0.8.11", "parking_lot", "signal-hook", "signal-hook-mio", "winapi", ] [[package]] name = "crossterm" version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f476fe445d41c9e991fd07515a6f463074b782242ccf4a5b7b1d1012e70824df" dependencies = [ "bitflags 2.9.0", "crossterm_winapi", "libc", "mio 0.8.11", "parking_lot", "signal-hook", "signal-hook-mio", "winapi", ] [[package]] name = "crossterm_winapi" version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b" dependencies = [ "winapi", ] [[package]] name = "deranged" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28cfac68e08048ae1883171632c2aef3ebc555621ae56fbccce1cbf22dd7f058" dependencies = [ "powerfmt", "serde", ] [[package]] name = "dirs" version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" dependencies = [ "dirs-sys", ] [[package]] name = "dirs-sys" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" dependencies = [ "libc", "option-ext", "redox_users", "windows-sys 0.48.0", ] [[package]] name = "displaydoc" version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "either" version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "encoding_rs" version = "0.8.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" dependencies = [ "cfg-if", ] [[package]] name = "equivalent" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "errno" version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" dependencies = [ "libc", "windows-sys 0.59.0", ] [[package]] name = "fancy-regex" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b95f7c0680e4142284cf8b22c14a476e87d61b004a3a0861872b32ef7ead40a2" dependencies = [ "bit-set", "regex", ] [[package]] name = "fastrand" version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "filetime" version = "0.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" dependencies = [ "cfg-if", "libc", "libredox", "windows-sys 0.59.0", ] [[package]] name = "fnv" version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "foreign-types" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" dependencies = [ "foreign-types-shared", ] [[package]] name = "foreign-types-shared" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "form_urlencoded" version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" dependencies = [ "percent-encoding", ] [[package]] name = "fraction" version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3027ae1df8d41b4bed2241c8fdad4acc1e7af60c8e17743534b545e77182d678" dependencies = [ "lazy_static", "num", ] [[package]] name = "futures" version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" dependencies = [ "futures-channel", "futures-core", "futures-executor", "futures-io", "futures-sink", "futures-task", "futures-util", ] [[package]] name = "futures-channel" version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" dependencies = [ "futures-core", "futures-sink", ] [[package]] name = "futures-core" version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" [[package]] name = "futures-executor" version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" dependencies = [ "futures-core", "futures-task", "futures-util", ] [[package]] name = "futures-io" version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" [[package]] name = "futures-macro" version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "futures-sink" version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" [[package]] name = "futures-task" version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" [[package]] name = "futures-util" version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" dependencies = [ "futures-channel", "futures-core", "futures-io", "futures-macro", "futures-sink", "futures-task", "memchr", "pin-project-lite", "pin-utils", "slab", ] [[package]] name = "getrandom" version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "js-sys", "libc", "wasi 0.11.0+wasi-snapshot-preview1", "wasm-bindgen", ] [[package]] name = "getrandom" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73fea8450eea4bac3940448fb7ae50d91f034f941199fcd9d909a5a07aa455f0" dependencies = [ "cfg-if", "libc", "r-efi", "wasi 0.14.2+wasi-0.2.4", ] [[package]] name = "gimli" version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" [[package]] name = "h2" version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" dependencies = [ "bytes", "fnv", "futures-core", "futures-sink", "futures-util", "http", "indexmap 2.8.0", "slab", "tokio", "tokio-util", "tracing", ] [[package]] name = "hashbrown" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" [[package]] name = "hashbrown" version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" [[package]] name = "heck" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" [[package]] name = "heck" version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "hex" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "home" version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" dependencies = [ "windows-sys 0.59.0", ] [[package]] name = "http" version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" dependencies = [ "bytes", "fnv", "itoa", ] [[package]] name = "http-body" version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", "http", "pin-project-lite", ] [[package]] name = "httparse" version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "httpdate" version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "hyper" version = "0.14.32" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7" dependencies = [ "bytes", "futures-channel", "futures-core", "futures-util", "h2", "http", "http-body", "httparse", "httpdate", "itoa", "pin-project-lite", "socket2", "tokio", "tower-service", "tracing", "want", ] [[package]] name = "hyper-tls" version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes", "hyper", "native-tls", "tokio", "tokio-native-tls", ] [[package]] name = "hyperlocal" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fafdf7b2b2de7c9784f76e02c0935e65a8117ec3b768644379983ab333ac98c" dependencies = [ "futures-util", "hex", "hyper", "pin-project", "tokio", ] [[package]] name = "iana-time-zone" version = "0.1.62" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2fd658b06e56721792c5df4475705b6cda790e9298d19d2f8af083457bcd127" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "log", "wasm-bindgen", "windows-core", ] [[package]] name = "iana-time-zone-haiku" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" dependencies = [ "cc", ] [[package]] name = "icu_collections" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" dependencies = [ "displaydoc", "yoke", "zerofrom", "zerovec", ] [[package]] name = "icu_locid" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" dependencies = [ "displaydoc", "litemap", "tinystr", "writeable", "zerovec", ] [[package]] name = "icu_locid_transform" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" dependencies = [ "displaydoc", "icu_locid", "icu_locid_transform_data", "icu_provider", "tinystr", "zerovec", ] [[package]] name = "icu_locid_transform_data" version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7515e6d781098bf9f7205ab3fc7e9709d34554ae0b21ddbcb5febfa4bc7df11d" [[package]] name = "icu_normalizer" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" dependencies = [ "displaydoc", "icu_collections", "icu_normalizer_data", "icu_properties", "icu_provider", "smallvec", "utf16_iter", "utf8_iter", "write16", "zerovec", ] [[package]] name = "icu_normalizer_data" version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c5e8338228bdc8ab83303f16b797e177953730f601a96c25d10cb3ab0daa0cb7" [[package]] name = "icu_properties" version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" dependencies = [ "displaydoc", "icu_collections", "icu_locid_transform", "icu_properties_data", "icu_provider", "tinystr", "zerovec", ] [[package]] name = "icu_properties_data" version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85fb8799753b75aee8d2a21d7c14d9f38921b54b3dbda10f5a3c7a7b82dba5e2" [[package]] name = "icu_provider" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" dependencies = [ "displaydoc", "icu_locid", "icu_provider_macros", "stable_deref_trait", "tinystr", "writeable", "yoke", "zerofrom", "zerovec", ] [[package]] name = "icu_provider_macros" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "idna" version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" dependencies = [ "idna_adapter", "smallvec", "utf8_iter", ] [[package]] name = "idna_adapter" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" dependencies = [ "icu_normalizer", "icu_properties", ] [[package]] name = "indexmap" version = "1.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg", "hashbrown 0.12.3", "serde", ] [[package]] name = "indexmap" version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058" dependencies = [ "equivalent", "hashbrown 0.15.2", "serde", ] [[package]] name = "indoc" version = "2.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd" [[package]] name = "ipnet" version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" [[package]] name = "is_terminal_polyfill" version = "1.70.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" [[package]] name = "iso8601" version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c5c177cff824ab21a6f41079a4c401241c4e8be14f316c4c6b07d5fca351c98d" dependencies = [ "nom", ] [[package]] name = "itertools" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" dependencies = [ "either", ] [[package]] name = "itoa" version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] name = "js-sys" version = "0.3.77" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" dependencies = [ "once_cell", "wasm-bindgen", ] [[package]] name = "jsonschema" version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a071f4f7efc9a9118dfb627a0a94ef247986e1ab8606a4c806ae2b3aa3b6978" dependencies = [ "ahash", "anyhow", "base64 0.21.7", "bytecount", "clap", "fancy-regex", "fraction", "getrandom 0.2.15", "iso8601", "itoa", "memchr", "num-cmp", "once_cell", "parking_lot", "percent-encoding", "regex", "reqwest", "serde", "serde_json", "time", "url", "uuid", ] [[package]] name = "lazy_static" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" version = "0.2.171" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6" [[package]] name = "libredox" version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ "bitflags 2.9.0", "libc", "redox_syscall", ] [[package]] name = "linux-raw-sys" version = "0.4.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" [[package]] name = "linux-raw-sys" version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe7db12097d22ec582439daf8618b8fdd1a7bef6270e9af3b1ebcd30893cf413" [[package]] name = "litemap" version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23fb14cb19457329c82206317a5663005a4d404783dc74f4252769b0d5f42856" [[package]] name = "lock_api" version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" dependencies = [ "autocfg", "scopeguard", ] [[package]] name = "log" version = "0.4.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" [[package]] name = "memchr" version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "mime" version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "miniz_oxide" version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e3e04debbb59698c15bacbb6d93584a8c0ca9cc3213cb423d31f760d8843ce5" dependencies = [ "adler2", ] [[package]] name = "mio" version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" dependencies = [ "libc", "log", "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.48.0", ] [[package]] name = "mio" version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" dependencies = [ "libc", "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.52.0", ] [[package]] name = "native-tls" version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87de3442987e9dbec73158d5c715e7ad9072fda936bb03d19d7fa10e00520f0e" dependencies = [ "libc", "log", "openssl", "openssl-probe", "openssl-sys", "schannel", "security-framework", "security-framework-sys", "tempfile", ] [[package]] name = "nix" version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" dependencies = [ "bitflags 2.9.0", "cfg-if", "libc", ] [[package]] name = "nom" version = "8.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" dependencies = [ "memchr", ] [[package]] name = "num" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" dependencies = [ "num-bigint", "num-complex", "num-integer", "num-iter", "num-rational", "num-traits", ] [[package]] name = "num-bigint" version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" dependencies = [ "num-integer", "num-traits", ] [[package]] name = "num-cmp" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "63335b2e2c34fae2fb0aa2cecfd9f0832a1e24b3b32ecec612c3426d46dc8aaa" [[package]] name = "num-complex" version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" dependencies = [ "num-traits", ] [[package]] name = "num-conv" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" [[package]] name = "num-integer" version = "0.1.46" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" dependencies = [ "num-traits", ] [[package]] name = "num-iter" version = "0.1.45" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" dependencies = [ "autocfg", "num-integer", "num-traits", ] [[package]] name = "num-rational" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" dependencies = [ "num-bigint", "num-integer", "num-traits", ] [[package]] name = "num-traits" version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", ] [[package]] name = "num_cpus" version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ "hermit-abi", "libc", ] [[package]] name = "object" version = "0.36.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" dependencies = [ "memchr", ] [[package]] name = "once_cell" version = "1.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2806eaa3524762875e21c3dcd057bc4b7bfa01ce4da8d46be1cd43649e1cc6b" [[package]] name = "openssl" version = "0.10.72" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fedfea7d58a1f73118430a55da6a286e7b044961736ce96a16a17068ea25e5da" dependencies = [ "bitflags 2.9.0", "cfg-if", "foreign-types", "libc", "once_cell", "openssl-macros", "openssl-sys", ] [[package]] name = "openssl-macros" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "openssl-probe" version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" [[package]] name = "openssl-sys" version = "0.9.107" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8288979acd84749c744a9014b4382d42b8f7b2592847b5afb2ed29e5d16ede07" dependencies = [ "cc", "libc", "pkg-config", "vcpkg", ] [[package]] name = "option-ext" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "parking_lot" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" dependencies = [ "lock_api", "parking_lot_core", ] [[package]] name = "parking_lot_core" version = "0.9.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", "redox_syscall", "smallvec", "windows-targets 0.52.6", ] [[package]] name = "paste" version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] name = "percent-encoding" version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pin-project" version = "1.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677f1add503faace112b9f1373e43e9e054bfdd22ff1a63c1bc485eaec6a6a8a" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" version = "1.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e918e4ff8c4549eb882f14b3a4bc8c8bc93de829416eacf579f1207a8fbf861" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "pin-project-lite" version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" [[package]] name = "pin-utils" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkg-config" version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "powerfmt" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "proc-macro2" version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84" dependencies = [ "unicode-ident", ] [[package]] name = "quote" version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" dependencies = [ "proc-macro2", ] [[package]] name = "r-efi" version = "5.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" [[package]] name = "ratatui" version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e2e4cd95294a85c3b4446e63ef054eea43e0205b1fd60120c16b74ff7ff96ad" dependencies = [ "bitflags 2.9.0", "cassowary", "crossterm 0.27.0", "indoc", "itertools", "paste", "strum", "unicode-segmentation", "unicode-width", ] [[package]] name = "rayon" version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" dependencies = [ "either", "rayon-core", ] [[package]] name = "rayon-core" version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" dependencies = [ "crossbeam-deque", "crossbeam-utils", ] [[package]] name = "redox_syscall" version = "0.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b8c0c260b63a8219631167be35e6a988e9554dbd323f8bd08439c8ed1302bd1" dependencies = [ "bitflags 2.9.0", ] [[package]] name = "redox_users" version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom 0.2.15", "libredox", "thiserror", ] [[package]] name = "regex" version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" dependencies = [ "aho-corasick", "memchr", "regex-automata", "regex-syntax", ] [[package]] name = "regex-automata" version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" dependencies = [ "aho-corasick", "memchr", "regex-syntax", ] [[package]] name = "regex-syntax" version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" [[package]] name = "reqwest" version = "0.11.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" dependencies = [ "base64 0.21.7", "bytes", "encoding_rs", "futures-core", "futures-util", "h2", "http", "http-body", "hyper", "hyper-tls", "ipnet", "js-sys", "log", "mime", "native-tls", "once_cell", "percent-encoding", "pin-project-lite", "rustls-pemfile", "serde", "serde_json", "serde_urlencoded", "sync_wrapper", "system-configuration", "tokio", "tokio-native-tls", "tower-service", "url", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", "winreg", ] [[package]] name = "rustc-demangle" version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustix" version = "0.38.44" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" dependencies = [ "bitflags 2.9.0", "errno", "libc", "linux-raw-sys 0.4.15", "windows-sys 0.59.0", ] [[package]] name = "rustix" version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e56a18552996ac8d29ecc3b190b4fdbb2d91ca4ec396de7bbffaf43f3d637e96" dependencies = [ "bitflags 2.9.0", "errno", "libc", "linux-raw-sys 0.9.3", "windows-sys 0.59.0", ] [[package]] name = "rustls-pemfile" version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" dependencies = [ "base64 0.21.7", ] [[package]] name = "rustversion" version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" [[package]] name = "ryu" version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" [[package]] name = "schannel" version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d" dependencies = [ "windows-sys 0.59.0", ] [[package]] name = "scopeguard" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "security-framework" version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ "bitflags 2.9.0", "core-foundation", "core-foundation-sys", "libc", "security-framework-sys", ] [[package]] name = "security-framework-sys" version = "2.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32" dependencies = [ "core-foundation-sys", "libc", ] [[package]] name = "serde" version = "1.0.219" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" version = "1.0.219" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "serde_json" version = "1.0.140" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" dependencies = [ "itoa", "memchr", "ryu", "serde", ] [[package]] name = "serde_repr" version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "serde_urlencoded" version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" dependencies = [ "form_urlencoded", "itoa", "ryu", "serde", ] [[package]] name = "serde_with" version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07ff71d2c147a7b57362cead5e22f772cd52f6ab31cfcd9edcd7f6aeb2a0afbe" dependencies = [ "base64 0.13.1", "chrono", "hex", "indexmap 1.9.3", "serde", "serde_json", "time", ] [[package]] name = "serde_yaml" version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ "indexmap 2.8.0", "itoa", "ryu", "serde", "unsafe-libyaml", ] [[package]] name = "shlex" version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook" version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" dependencies = [ "libc", "signal-hook-registry", ] [[package]] name = "signal-hook-mio" version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34db1a06d485c9142248b7a054f034b349b212551f3dfd19c94d45a754a217cd" dependencies = [ "libc", "mio 0.8.11", "signal-hook", ] [[package]] name = "signal-hook-registry" version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" dependencies = [ "libc", ] [[package]] name = "slab" version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" dependencies = [ "autocfg", ] [[package]] name = "smallvec" version = "1.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd" [[package]] name = "socket2" version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" dependencies = [ "libc", "windows-sys 0.52.0", ] [[package]] name = "stable_deref_trait" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "strsim" version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "strum" version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" dependencies = [ "strum_macros", ] [[package]] name = "strum_macros" version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" dependencies = [ "heck 0.4.1", "proc-macro2", "quote", "rustversion", "syn", ] [[package]] name = "syn" version = "2.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0" dependencies = [ "proc-macro2", "quote", "unicode-ident", ] [[package]] name = "sync_wrapper" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" [[package]] name = "synstructure" version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "system-configuration" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" dependencies = [ "bitflags 1.3.2", "core-foundation", "system-configuration-sys", ] [[package]] name = "system-configuration-sys" version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" dependencies = [ "core-foundation-sys", "libc", ] [[package]] name = "tar" version = "0.4.44" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d863878d212c87a19c1a610eb53bb01fe12951c0501cf5a0d65f724914a667a" dependencies = [ "filetime", "libc", "xattr", ] [[package]] name = "tempfile" version = "3.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7437ac7763b9b123ccf33c338a5cc1bac6f69b45a136c19bdd8a65e3916435bf" dependencies = [ "fastrand", "getrandom 0.3.2", "once_cell", "rustix 1.0.3", "windows-sys 0.59.0", ] [[package]] name = "thiserror" version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "time" version = "0.3.41" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" dependencies = [ "deranged", "itoa", "num-conv", "powerfmt", "serde", "time-core", "time-macros", ] [[package]] name = "time-core" version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" [[package]] name = "time-macros" version = "0.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" dependencies = [ "num-conv", "time-core", ] [[package]] name = "tinystr" version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" dependencies = [ "displaydoc", "zerovec", ] [[package]] name = "tokio" version = "1.44.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f382da615b842244d4b8738c82ed1275e6c5dd90c459a30941cd07080b06c91a" dependencies = [ "backtrace", "bytes", "libc", "mio 1.0.3", "parking_lot", "pin-project-lite", "signal-hook-registry", "socket2", "tokio-macros", "windows-sys 0.52.0", ] [[package]] name = "tokio-macros" version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "tokio-native-tls" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" dependencies = [ "native-tls", "tokio", ] [[package]] name = "tokio-util" version = "0.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b9590b93e6fcc1739458317cccd391ad3955e2bde8913edf6f95f9e65a8f034" dependencies = [ "bytes", "futures-core", "futures-sink", "pin-project-lite", "tokio", ] [[package]] name = "tower-service" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" version = "0.1.41" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" dependencies = [ "pin-project-lite", "tracing-core", ] [[package]] name = "tracing-core" version = "0.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" dependencies = [ "once_cell", ] [[package]] name = "try-lock" version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "unicode-ident" version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" [[package]] name = "unicode-segmentation" version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" [[package]] name = "unicode-width" version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" [[package]] name = "unsafe-libyaml" version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861" [[package]] name = "url" version = "2.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" dependencies = [ "form_urlencoded", "idna", "percent-encoding", ] [[package]] name = "urlencoding" version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" [[package]] name = "utf16_iter" version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" [[package]] name = "utf8_iter" version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" [[package]] name = "utf8parse" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9" dependencies = [ "getrandom 0.3.2", ] [[package]] name = "vcpkg" version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" [[package]] name = "version_check" version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "want" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" dependencies = [ "try-lock", ] [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasi" version = "0.14.2+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" dependencies = [ "wit-bindgen-rt", ] [[package]] name = "wasm-bindgen" version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" dependencies = [ "cfg-if", "once_cell", "rustversion", "wasm-bindgen-macro", ] [[package]] name = "wasm-bindgen-backend" version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" dependencies = [ "bumpalo", "log", "proc-macro2", "quote", "syn", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" version = "0.4.50" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61" dependencies = [ "cfg-if", "js-sys", "once_cell", "wasm-bindgen", "web-sys", ] [[package]] name = "wasm-bindgen-macro" version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" dependencies = [ "quote", "wasm-bindgen-macro-support", ] [[package]] name = "wasm-bindgen-macro-support" version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" dependencies = [ "proc-macro2", "quote", "syn", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" dependencies = [ "unicode-ident", ] [[package]] name = "web-sys" version = "0.3.77" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" dependencies = [ "js-sys", "wasm-bindgen", ] [[package]] name = "which" version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" dependencies = [ "either", "home", "once_cell", "rustix 0.38.44", ] [[package]] name = "winapi" version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" dependencies = [ "winapi-i686-pc-windows-gnu", "winapi-x86_64-pc-windows-gnu", ] [[package]] name = "winapi-i686-pc-windows-gnu" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-x86_64-pc-windows-gnu" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows-core" version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ "windows-targets 0.52.6", ] [[package]] name = "windows-link" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" [[package]] name = "windows-sys" version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ "windows-targets 0.48.5", ] [[package]] name = "windows-sys" version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ "windows-targets 0.52.6", ] [[package]] name = "windows-sys" version = "0.59.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" dependencies = [ "windows-targets 0.52.6", ] [[package]] name = "windows-targets" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ "windows_aarch64_gnullvm 0.48.5", "windows_aarch64_msvc 0.48.5", "windows_i686_gnu 0.48.5", "windows_i686_msvc 0.48.5", "windows_x86_64_gnu 0.48.5", "windows_x86_64_gnullvm 0.48.5", "windows_x86_64_msvc 0.48.5", ] [[package]] name = "windows-targets" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", "windows_i686_gnullvm", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", "windows_x86_64_msvc 0.52.6", ] [[package]] name = "windows_aarch64_gnullvm" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" [[package]] name = "windows_aarch64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" [[package]] name = "windows_i686_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" [[package]] name = "windows_i686_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" [[package]] name = "windows_x86_64_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] name = "windows_x86_64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winreg" version = "0.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" dependencies = [ "cfg-if", "windows-sys 0.48.0", ] [[package]] name = "wit-bindgen-rt" version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" dependencies = [ "bitflags 2.9.0", ] [[package]] name = "write16" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" [[package]] name = "writeable" version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" [[package]] name = "wrkflw" version = "0.3.0" dependencies = [ "async-trait", "bollard", "chrono", "clap", "colored", "crossterm 0.26.1", "dirs", "futures", "futures-util", "indexmap 2.8.0", "itertools", "jsonschema", "lazy_static", "libc", "log", "nix", "num_cpus", "once_cell", "ratatui", "rayon", "regex", "reqwest", "serde", "serde_json", "serde_yaml", "tar", "tempfile", "thiserror", "tokio", "urlencoding", "uuid", "which", ] [[package]] name = "xattr" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d65cbf2f12c15564212d48f4e3dfb87923d25d611f2aed18f4cb23f0413d89e" dependencies = [ "libc", "rustix 1.0.3", ] [[package]] name = "yoke" version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" dependencies = [ "serde", "stable_deref_trait", "yoke-derive", "zerofrom", ] [[package]] name = "yoke-derive" version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" dependencies = [ "proc-macro2", "quote", "syn", "synstructure", ] [[package]] name = "zerocopy" version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "zerofrom" version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" dependencies = [ "zerofrom-derive", ] [[package]] name = "zerofrom-derive" version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ "proc-macro2", "quote", "syn", "synstructure", ] [[package]] name = "zerovec" version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" dependencies = [ "yoke", "zerofrom", "zerovec-derive", ] [[package]] name = "zerovec-derive" version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" dependencies = [ "proc-macro2", "quote", "syn", ] ``` ## /Cargo.toml ```toml path="/Cargo.toml" [package] name = "wrkflw" version = "0.3.0" edition = "2021" description = "A GitHub Actions workflow validator and executor" documentation = "https://github.com/bahdotsh/wrkflw" homepage = "https://github.com/bahdotsh/wrkflw" repository = "https://github.com/bahdotsh/wrkflw" keywords = ["workflows", "github", "local"] categories = ["command-line-utilities"] license = "MIT" [dependencies] clap = { version = "4.3", features = ["derive"] } colored = "2.0" serde = { version = "1.0", features = ["derive"] } serde_yaml = "0.9" serde_json = "1.0" jsonschema = "0.17" tokio = { version = "1.28", features = ["full"] } async-trait = "0.1" bollard = "0.14" futures-util = "0.3" futures = "0.3" chrono = "0.4" uuid = { version = "1.3", features = ["v4"] } tempfile = "3.6" tar = "0.4" dirs = "5.0" thiserror = "1.0" log = "0.4" which = "4.4" crossterm = "0.26.1" ratatui = { version = "0.23.0", features = ["crossterm"] } once_cell = "1.19.0" itertools = "0.11.0" indexmap = { version = "2.0.0", features = ["serde"] } rayon = "1.7.0" num_cpus = "1.16.0" regex = "1.10" lazy_static = "1.4" reqwest = { version = "0.11", features = ["json"] } libc = "0.2" nix = { version = "0.27.1", features = ["fs"] } urlencoding = "2.1.3" [profile.release] codegen-units = 1 lto = true ``` ## /GITLAB_USAGE.md # Using wrkflw with GitLab Pipelines This guide explains how to use the `wrkflw` tool to trigger GitLab CI/CD pipelines. ## Prerequisites 1. A GitLab repository with a `.gitlab-ci.yml` file 2. A GitLab personal access token with API access 3. `wrkflw` installed on your system ## Setting Up 1. Create a GitLab personal access token: - Go to GitLab > User Settings > Access Tokens - Create a token with `api` scope - Copy the token value 2. Set the token as an environment variable: ```bash export GITLAB_TOKEN=your_token_here ``` ## Triggering a Pipeline You can trigger a GitLab pipeline using the `trigger-gitlab` command: ```bash # Trigger using the default branch wrkflw trigger-gitlab # Trigger on a specific branch wrkflw trigger-gitlab --branch feature-branch # Trigger with custom variables wrkflw trigger-gitlab --variable BUILD_RELEASE=true ``` ### Example: Triggering a Release Build To trigger the release build job in our sample pipeline: ```bash wrkflw trigger-gitlab --variable BUILD_RELEASE=true ``` This will set the `BUILD_RELEASE` variable to `true`, which activates the release job in our sample pipeline. ### Example: Building Documentation To trigger the documentation build job: ```bash wrkflw trigger-gitlab --variable BUILD_DOCS=true ``` ## Controlling Job Execution with Variables Our sample GitLab pipeline is configured to make certain jobs conditional based on variables. You can use the `--variable` flag to control which jobs run: | Variable | Purpose | |----------|---------| | `BUILD_RELEASE` | Set to `true` to run the release job | | `BUILD_DOCS` | Set to `true` to build documentation | ## Checking Pipeline Status After triggering a pipeline, you can check its status directly on GitLab: 1. Navigate to your GitLab repository 2. Go to CI/CD > Pipelines 3. Find your recently triggered pipeline The `wrkflw` command will also provide a direct URL to the pipeline after triggering. ## Troubleshooting If you encounter issues: 1. Verify your GitLab token is set correctly 2. Check that you're in a repository with a valid GitLab remote URL 3. Ensure your `.gitlab-ci.yml` file is valid 4. Check that your GitLab token has API access permissions 5. Review GitLab's CI/CD pipeline logs for detailed error information ## /LICENSE ``` path="/LICENSE" MIT License Copyright (c) 2025 Gokul Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ``` ## /README.md # WRKFLW [![Crates.io](https://img.shields.io/crates/v/wrkflw)](https://crates.io/crates/wrkflw) [![Rust Version](https://img.shields.io/badge/rust-1.67%2B-orange)](https://www.rust-lang.org/) [![License](https://img.shields.io/crates/l/wrkflw)](LICENSE) [![Build Status](https://img.shields.io/github/actions/workflow/status/bahdotsh/wrkflw/build.yml?branch=main)](https://github.com/bahdotsh/wrkflw/actions/workflows/build.yml) [![Downloads](https://img.shields.io/crates/d/wrkflw)](https://crates.io/crates/wrkflw) WRKFLW is a powerful command-line tool for validating and executing GitHub Actions workflows locally, without requiring a full GitHub environment. It helps developers test their workflows directly on their machines before pushing changes to GitHub. ![WRKFLW Demo](demo.gif) ## Features - **TUI Interface**: A full-featured terminal user interface for managing and monitoring workflow executions - **Validate Workflow Files**: Check for syntax errors and common mistakes in GitHub Actions workflow files - **Execute Workflows Locally**: Run workflows directly on your machine using Docker containers - **Emulation Mode**: Optional execution without Docker by emulating the container environment locally - **Job Dependency Resolution**: Automatically determines the correct execution order based on job dependencies - **Docker Integration**: Execute workflow steps in isolated Docker containers with proper environment setup - **GitHub Context**: Provides GitHub-like environment variables and workflow commands - **Multiple Runtime Modes**: Choose between Docker containers or local emulation for maximum flexibility - **Action Support**: Supports various GitHub Actions types: - Docker container actions - JavaScript actions - Composite actions - Local actions - **Special Action Handling**: Native handling for commonly used actions like `actions/checkout` - **Output Capturing**: View logs, step outputs, and execution details - **Parallel Job Execution**: Runs independent jobs in parallel for faster workflow execution - **Trigger Workflows Remotely**: Manually trigger workflow runs on GitHub or GitLab ## Installation The recommended way to install `wrkflw` is using Rust's package manager, Cargo: ### Using Cargo Install (Recommended) ```bash cargo install wrkflw ``` ### From Source Clone the repository and build using Cargo: ```bash git clone https://github.com/bahdotsh/wrkflw.git cd wrkflw cargo build --release ``` The compiled binary will be available at `target/release/wrkflw`. ## Usage The simplest way to use WRKFLW is to navigate to your project's root directory and run: ```bash wrkflw ``` This will automatically detect and load all workflows from `.github/workflows` directory into the TUI interface. WRKFLW also provides three main command modes: ### Validating Workflow Files ```bash # Validate all workflow files in the default location (.github/workflows) wrkflw validate # Validate a specific workflow file wrkflw validate path/to/workflow.yml # Validate workflows in a specific directory wrkflw validate path/to/workflows # Validate with verbose output wrkflw validate --verbose path/to/workflow.yml ``` ### Running Workflows in CLI Mode ```bash # Run a workflow with Docker (default) wrkflw run .github/workflows/ci.yml # Run a workflow in emulation mode (without Docker) wrkflw run --emulate .github/workflows/ci.yml # Run with verbose output wrkflw run --verbose .github/workflows/ci.yml ``` ### Using the TUI Interface ```bash # Open TUI with workflows from the default directory wrkflw tui # Open TUI with a specific directory of workflows wrkflw tui path/to/workflows # Open TUI with a specific workflow pre-selected wrkflw tui path/to/workflow.yml # Open TUI in emulation mode wrkflw tui --emulate ``` ### Triggering Workflows Remotely ```bash # Trigger a workflow remotely on GitHub wrkflw trigger workflow-name --branch main --input key1=value1 --input key2=value2 # Trigger a pipeline remotely on GitLab wrkflw trigger-gitlab --branch main --variable key1=value1 --variable key2=value2 ``` ## TUI Controls The terminal user interface provides an interactive way to manage workflows: - **Tab / 1-4**: Switch between tabs (Workflows, Execution, Logs, Help) - **Up/Down or j/k**: Navigate lists - **Space**: Toggle workflow selection - **Enter**: Run selected workflow / View job details - **r**: Run all selected workflows - **a**: Select all workflows - **n**: Deselect all workflows - **e**: Toggle between Docker and Emulation mode - **v**: Toggle between Execution and Validation mode - **Esc**: Back / Exit detailed view - **q**: Quit application ## Examples ### Validating a Workflow ```bash $ wrkflw validate .github/workflows/rust.yml Validating workflows in: .github/workflows/rust.yml ============================================================ ✅ Valid: rust.yml ------------------------------------------------------------ Summary ============================================================ ✅ 1 valid workflow file(s) All workflows are valid! 🎉 ``` ### Running a Workflow ```bash $ wrkflw run .github/workflows/rust.yml Executing workflow: .github/workflows/rust.yml ============================================================ Runtime: Docker ------------------------------------------------------------ ✅ Job succeeded: build ------------------------------------------------------------ ✅ Checkout code ✅ Set up Rust ✅ Build ✅ Run tests ✅ Workflow completed successfully! ``` ### Quick TUI Startup ```bash # Navigate to project root and run wrkflw $ cd my-project $ wrkflw # This will automatically load .github/workflows files into the TUI ``` ## Requirements - Rust 1.67 or later - Docker (optional, for container-based execution) - When not using Docker, the emulation mode can run workflows using your local system tools ## How It Works WRKFLW parses your GitHub Actions workflow files and executes each job and step in the correct order. For Docker mode, it creates containers that closely match GitHub's runner environments. The workflow execution process: 1. **Parsing**: Reads and validates the workflow YAML structure 2. **Dependency Resolution**: Creates an execution plan based on job dependencies 3. **Environment Setup**: Prepares GitHub-like environment variables and context 4. **Execution**: Runs each job and step either in Docker containers or through local emulation 5. **Monitoring**: Tracks progress and captures outputs in the TUI or command line ## Advanced Features ### GitHub Environment Files Support WRKFLW supports GitHub's environment files and special commands: - `GITHUB_OUTPUT`: For storing step outputs (`echo "result=value" >> $GITHUB_OUTPUT`) - `GITHUB_ENV`: For setting environment variables (`echo "VAR=value" >> $GITHUB_ENV`) - `GITHUB_PATH`: For modifying the PATH (`echo "/path/to/dir" >> $GITHUB_PATH`) - `GITHUB_STEP_SUMMARY`: For creating step summaries (`echo "# Summary" >> $GITHUB_STEP_SUMMARY`) ### Composite Actions WRKFLW supports composite actions, which are actions made up of multiple steps. This includes: - Local composite actions referenced with `./path/to/action` - Remote composite actions from GitHub repositories - Nested composite actions (composite actions that use other actions) ### Container Cleanup WRKFLW automatically cleans up any Docker containers created during workflow execution, even if the process is interrupted with Ctrl+C. ## Limitations ### Supported Features - ✅ Basic workflow syntax and validation (all YAML syntax checks, required fields, and structure) - ✅ Job dependency resolution and parallel execution (all jobs with correct 'needs' relationships are executed in the right order, and independent jobs run in parallel) - ✅ Matrix builds (supported for reasonable matrix sizes; very large matrices may be slow or resource-intensive) - ✅ Environment variables and GitHub context (all standard GitHub Actions environment variables and context objects are emulated) - ✅ Docker container actions (all actions that use Docker containers are supported in Docker mode) - ✅ JavaScript actions (all actions that use JavaScript are supported) - ✅ Composite actions (all composite actions, including nested and local composite actions, are supported) - ✅ Local actions (actions referenced with local paths are supported) - ✅ Special handling for common actions (e.g., `actions/checkout` is natively supported) - ✅ Workflow triggering via `workflow_dispatch` (manual triggering of workflows is supported) - ✅ GitLab pipeline triggering (manual triggering of GitLab pipelines is supported) - ✅ Environment files (`GITHUB_OUTPUT`, `GITHUB_ENV`, `GITHUB_PATH`, `GITHUB_STEP_SUMMARY` are fully supported) - ✅ TUI interface for workflow management and monitoring - ✅ CLI interface for validation, execution, and remote triggering - ✅ Output capturing (logs, step outputs, and execution details are available in both TUI and CLI) - ✅ Container cleanup (all containers created by wrkflw are automatically cleaned up, even on interruption) ### Limited or Unsupported Features (Explicit List) - ❌ GitHub secrets and permissions: Only basic environment variables are supported. GitHub's encrypted secrets and fine-grained permissions are NOT available. - ❌ GitHub Actions cache: Caching functionality (e.g., `actions/cache`) is NOT supported in emulation mode and only partially supported in Docker mode (no persistent cache between runs). - ❌ GitHub API integrations: Only basic workflow triggering is supported. Features like workflow status reporting, artifact upload/download, and API-based job control are NOT available. - ❌ GitHub-specific environment variables: Some advanced or dynamic environment variables (e.g., those set by GitHub runners or by the GitHub API) are emulated with static or best-effort values, but not all are fully functional. - ❌ Large/complex matrix builds: Very large matrices (hundreds or thousands of job combinations) may not be practical due to performance and resource limits. - ❌ Network-isolated actions: Actions that require strict network isolation or custom network configuration may not work out-of-the-box and may require manual Docker configuration. - ❌ Some event triggers: Only `workflow_dispatch` (manual trigger) is fully supported. Other triggers (e.g., `push`, `pull_request`, `schedule`, `release`, etc.) are NOT supported. - ❌ GitHub runner-specific features: Features that depend on the exact GitHub-hosted runner environment (e.g., pre-installed tools, runner labels, or hardware) are NOT guaranteed to match. Only a best-effort emulation is provided. - ❌ Windows and macOS runners: Only Linux-based runners are fully supported. Windows and macOS jobs are NOT supported. - ❌ Service containers: Service containers (e.g., databases defined in `services:`) are only supported in Docker mode. In emulation mode, they are NOT supported. - ❌ Artifacts: Uploading and downloading artifacts between jobs/steps is NOT supported. - ❌ Job/step timeouts: Custom timeouts for jobs and steps are NOT enforced. - ❌ Job/step concurrency and cancellation: Features like `concurrency` and job cancellation are NOT supported. - ❌ Expressions and advanced YAML features: Most common expressions are supported, but some advanced or edge-case expressions may not be fully implemented. ### Runtime Mode Differences - **Docker Mode**: Provides the closest match to GitHub's environment, including support for Docker container actions, service containers, and Linux-based jobs. Some advanced container configurations may still require manual setup. - **Emulation Mode**: Runs workflows using the local system tools. Limitations: - Only supports local and JavaScript actions (no Docker container actions) - No support for service containers - No caching support - Some actions may require adaptation to work locally - Special action handling is more limited ### Best Practices - Test workflows in both Docker and emulation modes to ensure compatibility - Keep matrix builds reasonably sized for better performance - Use environment variables instead of GitHub secrets when possible - Consider using local actions for complex custom functionality - Test network-dependent actions carefully in both modes ## Roadmap The following roadmap outlines our planned approach to implementing currently unsupported or partially supported features in WRKFLW. Progress and priorities may change based on user feedback and community contributions. ### 1. Secrets and Permissions - **Goal:** Support encrypted secrets and fine-grained permissions similar to GitHub Actions. - **Plan:** - Implement secure secret storage and injection for workflow steps. - Add support for reading secrets from environment variables, files, or secret managers. - Investigate permission scoping for jobs and steps. ### 2. GitHub Actions Cache - **Goal:** Enable persistent caching between workflow runs, especially for dependencies. - **Plan:** - Implement a local cache directory for Docker mode. - Add support for `actions/cache` in both Docker and emulation modes. - Investigate cross-run cache persistence. ### 3. GitHub API Integrations - **Goal:** Support artifact upload/download, workflow/job status reporting, and other API-based features. - **Plan:** - Add artifact upload/download endpoints. - Implement status reporting to GitHub via the API. - Add support for job/step annotations and logs upload. ### 4. Advanced Environment Variables - **Goal:** Emulate all dynamic GitHub-provided environment variables. - **Plan:** - Audit missing variables and add dynamic computation where possible. - Provide a compatibility table in the documentation. ### 5. Large/Complex Matrix Builds - **Goal:** Improve performance and resource management for large matrices. - **Plan:** - Optimize matrix expansion and job scheduling. - Add resource limits and warnings for very large matrices. ### 6. Network-Isolated Actions - **Goal:** Support custom network configurations and strict isolation for actions. - **Plan:** - Add advanced Docker network configuration options. - Document best practices for network isolation. ### 7. Event Triggers - **Goal:** Support additional triggers (`push`, `pull_request`, `schedule`, etc.). - **Plan:** - Implement event simulation for common triggers. - Allow users to specify event payloads for local runs. ### 8. Windows and macOS Runners - **Goal:** Add support for non-Linux runners. - **Plan:** - Investigate cross-platform containerization and emulation. - Add documentation for platform-specific limitations. ### 9. Service Containers in Emulation Mode - **Goal:** Support service containers (e.g., databases) in emulation mode. - **Plan:** - Implement local service startup and teardown scripts. - Provide configuration for common services. ### 10. Artifacts, Timeouts, Concurrency, and Expressions - **Goal:** Support artifact handling, job/step timeouts, concurrency, and advanced YAML expressions. - **Plan:** - Add artifact storage and retrieval. - Enforce timeouts and concurrency limits. - Expand expression parser for advanced use cases. --- **Want to help?** Contributions are welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for how to get started. ## License This project is licensed under the MIT License - see the LICENSE file for details. ## Remote Workflow Triggering WRKFLW allows you to manually trigger workflow runs on GitHub through both the command-line interface (CLI) and the terminal user interface (TUI). ### Requirements: 1. You need a GitHub token with workflow permissions. Set it in the `GITHUB_TOKEN` environment variable: ```bash export GITHUB_TOKEN=ghp_your_token_here ``` 2. The workflow must have the `workflow_dispatch` trigger defined in your workflow YAML: ```yaml on: workflow_dispatch: inputs: name: description: 'Person to greet' default: 'World' required: true debug: description: 'Enable debug mode' required: false type: boolean default: false ``` ### Triggering from CLI: ```bash # Trigger a workflow using the default branch wrkflw trigger workflow-name # Trigger a workflow on a specific branch wrkflw trigger workflow-name --branch feature-branch # Trigger with input parameters wrkflw trigger workflow-name --branch main --input name=Alice --input debug=true ``` After triggering, WRKFLW will provide feedback including the URL to view the triggered workflow on GitHub. ### Triggering from TUI: 1. Launch the TUI interface: ```bash wrkflw tui ``` 2. Navigate to the "Workflows" tab (use `Tab` key or press `1`). 3. Use the arrow keys (`↑`/`↓`) or `j`/`k` to select the desired workflow. 4. Press `t` to trigger the selected workflow. 5. If the workflow is successfully triggered, you'll see a notification in the UI. 6. You can monitor the triggered workflow's execution on GitHub using the provided URL. ### Verifying Triggered Workflows: To verify that your workflow was triggered: 1. Visit your GitHub repository in a web browser. 2. Navigate to the "Actions" tab. 3. Look for your workflow in the list of workflow runs. 4. Click on it to view the details of the run. ## /cliff.toml ```toml path="/cliff.toml" [changelog] # The header of the changelog header = """ # Changelog All notable changes to wrkflw will be documented in this file. """ # Template for the changelog body body = """ {% if version %} ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} {% else %} ## [unreleased] {% endif %} {% for group, commits in commits | group_by(attribute="group") %} ### {{ group | upper_first }} {% for commit in commits %} - {% if commit.breaking %}**BREAKING:** {% endif %}{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/bahdotsh/wrkflw/commit/{{ commit.id }})){% if commit.links %} ({% for link in commit.links %}[{{ link.text }}]({{ link.href }}){% if not loop.last %}, {% endif %}{% endfor %}){% endif %} {% endfor %} {% endfor %} """ # Remove the leading and trailing whitespace from the template trim = true # The footer of the changelog footer = """ """ # This determines how the links to commits are formatted [git] conventional_commits = true filter_unconventional = true commit_parsers = [ { message = "^feat", group = "Features" }, { message = "^fix", group = "Bug Fixes" }, { message = "^docs", group = "Documentation" }, { message = "^style", group = "Styling" }, { message = "^refactor", group = "Refactor" }, { message = "^perf", group = "Performance" }, { message = "^test", group = "Testing" }, { message = "^chore\\(deps\\)", skip = true }, { message = "^chore\\(release\\)", skip = true }, { message = "^chore", group = "Miscellaneous Tasks" }, { body = ".*security", group = "Security" }, ] # Define the GitHub repository URL for commit links [git.link] # Format: https://github.com/USER/REPO/commit/{} commit_link = "https://github.com/bahdotsh/wrkflw/commit/{}" # Format of the git commit link link_parsers = [ { pattern = "#(\\d+)", href = "https://github.com/bahdotsh/wrkflw/issues/$1" }, ] filter_commits = true tag_pattern = "v[0-9]*" ignore_tags = "" date_format = "%Y-%m-%d" sort_commits = "oldest" ``` ## /demo.cast ```cast path="/demo.cast" {"version": 2, "width": 245, "height": 63, "timestamp": 1744630112, "env": {"SHELL": "/bin/zsh", "TERM": "xterm-256color"}} [0.358646, "o", "\u001b[1m\u001b[7m%\u001b[27m\u001b[1m\u001b[0m \r \r"] [0.359099, "o", "\u001b]2;goku@Gokuls-MacBook-Pro:~/projects/wrkflw\u0007\u001b]1;..ojects/wrkflw\u0007"] [0.360595, "o", "\u001b]7;file://Gokuls-MacBook-Pro.local/Users/goku/projects/wrkflw\u001b\\"] [0.361127, "o", "\r\u001b[0m\u001b[27m\u001b[24m\u001b[J\u001b[01;32m➜ \u001b[36mwrkflw\u001b[00m \u001b[K"] [0.361185, "o", "\u001b[?1h\u001b="] [0.361192, "o", "\u001b[?2004h"] [0.400103, "o", "\r\r\u001b[0m\u001b[27m\u001b[24m\u001b[J\u001b[01;32m➜ \u001b[36mwrkflw\u001b[00m \u001b[01;34m(\u001b[31mmain\u001b[34m) \u001b[33m✗\u001b[00m \u001b[K"] [3.084486, "o", "c"] [3.210174, "o", "\bca"] [3.330545, "o", "t"] [3.426453, "o", " "] [4.297203, "o", "."] [4.577906, "o", "g"] [4.726606, "o", "i"] [4.804978, "o", "t"] [4.913452, "o", "h"] [5.017646, "o", "u"] [5.189906, "o", "b\u001b[1m/\u001b[0m"] [5.669145, "o", "\b\u001b[0m/workflows\u001b[1m/\u001b[0m"] [5.934515, "o", "\b\u001b[0m/matrix-sample.yml\u001b[1m \u001b[0m"] [6.465851, "o", "\b\u001b[0m \b"] [6.466275, "o", "\u001b[?1l\u001b>"] [6.466299, "o", "\u001b[?2004l\r\r\n"] [6.468191, "o", "\u001b]2;cat .github/workflows/matrix-sample.yml\u0007\u001b]1;cat\u0007"] [6.504486, "o", "name: Matrix Sample\r\n\r\non:\r\n push:\r\n branches: [ main ]\r\n pull_request:\r\n branches: [ main ]\r\n workflow_dispatch:\r\n\r\njobs:\r\n test:\r\n name: Test\r\n runs-on: ${{ matrix.os }}\r\n \r\n strategy:\r\n matrix:\r\n os: [ubuntu-latest, windows-latest, macos-latest]\r\n node: [14, 16]\r\n # Exclude windows with node 14\r\n exclude:\r\n - os: windows-latest\r\n node: 14\r\n # Include an experimental configuration\r\n include:\r\n - os: ubuntu-latest\r\n node: 18\r\n experimental: true\r\n # Set max parallel executions to 2\r\n max-parallel: 2\r\n # Enable fail-fast behavior\r\n fail-fast: true\r\n\r\n steps:\r\n - uses: actions/checkout@v3\r\n \r\n - name: Setup Node.js\r\n uses: actions/setup-node@v3\r\n with:\r\n node-version: ${{ matrix.node }}\r\n \r\n - name: Display configuration\r\n run: |\r\n echo \"OS: ${{ matrix.os }}\"\r\n echo \"Node version: ${{ matrix."] [6.504697, "o", "node }}\"\r\n \r\n - name: Display experimental info\r\n if: ${{ matrix.experimental == true }}\r\n run: echo \"This is an experimental configuration\"\r\n \r\n - name: Build\r\n run: |\r\n echo \"Building with Node ${{ matrix.node }} on ${{ matrix.os }}\"\r\n \r\n - name: Test\r\n run: |\r\n echo \"Testing with Node ${{ matrix.node }} on ${{ matrix.os }}\"\r\n # Add your real test commands here "] [6.504872, "o", "\u001b[1m\u001b[7m%\u001b[27m\u001b[1m\u001b[0m \r \r"] [6.506204, "o", "\u001b]2;goku@Gokuls-MacBook-Pro:~/projects/wrkflw\u0007"] [6.50623, "o", "\u001b]1;..ojects/wrkflw\u0007"] [6.509765, "o", "\u001b]7;file://Gokuls-MacBook-Pro.local/Users/goku/projects/wrkflw\u001b\\"] [6.513083, "o", "\r\u001b[0m\u001b[27m\u001b[24m\u001b[J\u001b[01;32m➜ \u001b[36mwrkflw\u001b[00m \u001b[01;34m(\u001b[31mmain\u001b[34m) \u001b[33m✗\u001b[00m \u001b[K"] [6.513245, "o", "\u001b[?1h\u001b="] [6.513334, "o", "\u001b[?2004h"] [7.863664, "o", "c"] [8.007692, "o", "\bcl"] [8.129813, "o", "e"] [8.388163, "o", "a"] [8.492268, "o", "r"] [8.628386, "o", "\u001b[?1l\u001b>"] [8.628749, "o", "\u001b[?2004l\r\r\n"] [8.630529, "o", "\u001b]2;clear\u0007\u001b]1;clear\u0007"] [8.668525, "o", "\u001b[3J\u001b[H\u001b[2J"] [8.668859, "o", "\u001b[1m\u001b[7m%\u001b[27m\u001b[1m\u001b[0m \r \r"] [8.670158, "o", "\u001b]2;goku@Gokuls-MacBook-Pro:~/projects/wrkflw\u0007\u001b]1;..ojects/wrkflw\u0007"] [8.67427, "o", "\u001b]7;file://Gokuls-MacBook-Pro.local/Users/goku/projects/wrkflw\u001b\\"] [8.678099, "o", "\r\u001b[0m\u001b[27m\u001b[24m\u001b[J\u001b[01;32m➜ \u001b[36mwrkflw\u001b[00m \u001b[01;34m(\u001b[31mmain\u001b[34m) \u001b[33m✗\u001b[00m \u001b[K"] [8.678204, "o", "\u001b[?1h\u001b="] [8.678224, "o", "\u001b[?2004h"] [8.972345, "o", "c"] [9.047595, "o", "\bca"] [9.318014, "o", "r"] [9.342734, "o", "g"] [9.437375, "o", "o"] [9.561836, "o", " "] [9.770543, "o", "r"] [10.951194, "o", "\u001b[?1l\u001b>"] [10.951638, "o", "\u001b[?2004l\r\r\n"] [10.953377, "o", "\u001b]2;cargo r\u0007\u001b]1;cargo\u0007"] [11.297671, "o", "\u001b[1m\u001b[32m Finished\u001b[0m `dev` profile [unoptimized + debuginfo] target(s) in 0.25s\r\n"] [11.302941, "o", "\u001b[1m\u001b[32m Running\u001b[0m `target/debug/wrkflw`\r\n"] [11.742843, "o", "\u001b[?1049h\u001b[?1000h\u001b[?1002h\u001b[?1003h\u001b[?1015h\u001b[?1006h"] [11.762873, "o", "\u001b[1;1H╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[1m\u001b[38;5;6m wrkflw \u001b[22m\u001b[39m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮\u001b[2;1H│\u001b[2;3H\u001b[1m\u001b[4m\u001b[38;5;3m\u001b[48;5;8mW\u001b[24morkflows\u001b[2;13H\u001b[22m\u001b[39m\u001b[49m|\u001b[2;15H\u001b[38;5;15mE\u001b[4m\u001b[38;5;3mx\u001b[24m\u001b[38;5;15mecution\u001b[2;25H\u001b[39m|\u001b[2;27H\u001b[4m\u001b[38;5;3mL\u001b[24m\u001b[38;5;15mogs\u001b[2;32H\u001b[39m|\u001b[2;34H\u001b[4m\u001b[38;5;3mH\u001b[24m\u001b[38;5;15melp\u001b[2;245H\u001b[39m│\u001b[3;1H╰─────"] [11.763, "o", "──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[4;1H╭\u001b[38;5;3m Available Workflows \u001b[39m───────────────────────────────────────────────────────────────────────────────────────"] [11.763113, "o", "───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮\u001b[5;1H│\u001b[1m\u001b[48;5;8m» \u001b[38;5;2m \u001b[39m matrix-sample.yml \u001b[22m\u001b[49m│\u001b[6;1H│\u001b[6;245H│\u001b[7;1H│\u001b[7;245H│\u001b[8;1H│\u001b[8;245H│\u001b[9;1H│\u001b[9;245H│\u001b[10;1H│\u001b[10;245H│\u001b[11;1H│\u001b[11;245H│\u001b[12;1H│\u001b[12;245H│\u001b[13;1H│\u001b[13;245H│\u001b[14;1H│\u001b[14;245H│\u001b[15;1H│\u001b[15;245H│\u001b[16;1H│\u001b[16;245H│\u001b[17;1H│\u001b[17;245H│\u001b[18;1H│\u001b[18;245H│\u001b[19;1H│\u001b[19;245H│\u001b[20;1H│\u001b[20;245H│\u001b"] [11.7632, "o", "[21;1H│\u001b[21;245H│\u001b[22;1H│\u001b[22;245H│\u001b[23;1H│\u001b[23;245H│\u001b[24;1H│\u001b[24;245H│\u001b[25;1H│\u001b[25;245H│\u001b[26;1H│\u001b[26;245H│\u001b[27;1H│\u001b[27;245H│\u001b[28;1H│\u001b[28;245H│\u001b[29;1H│\u001b[29;245H│\u001b[30;1H│\u001b[30;245H│\u001b[31;1H│\u001b[31;245H│\u001b[32;1H│\u001b[32;245H│\u001b[33;1H│\u001b[33;245H│\u001b[34;1H│\u001b[34;245H│\u001b[35;1H│\u001b[35;245H│\u001b[36;1H│\u001b[36;245H│\u001b[37;1H│\u001b[37;245H│\u001b[38;1H│\u001b[38;245H│\u001b[39;1H│\u001b[39;245H│\u001b[40;1H│\u001b[40;245H│\u001b[41;1H│\u001b[41;245H│\u001b[42;1H│\u001b[42;245H│\u001b[43;1H│\u001b[43;245H│\u001b[44;1H│\u001b[44;245H│\u001b[45;1H│\u001b[45;245H│\u001b[46;1H│\u001b[46;245H│\u001b[47;1H│\u001b[47;245H│\u001b[48;1H│\u001b[48;245H│\u001b[49;1H│\u001b[49;245H│\u001b[50;1H│\u001b[50;245H│\u001b[51;1H│\u001b[51;245H│\u001b[52;1H│\u001b[52;245H│\u001b[53;1H│\u001b[53;245H│\u001b[54;1H│\u001b[54;245H│\u001b[55;1H│\u001b[55;245H│\u001b[56;1H│\u001b[56;245H│\u001b[57;1H│\u001b[57;245H│\u001b[58;1H│\u001b[58;245H│\u001b[59;1H│\u001b[59;245H│\u001b[60;1H│\u001b[60;245H│\u001b[61;1H╰─────────────────────────────────────────────"] [11.763229, "o", "──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[62;1HRuntime:\u001b[62;10H\u001b[1m\u001b[38;5;4mDocker\u001b[62;17H\u001b[22m\u001b[39m|\u001b[62;19HMode:\u001b[62;25H\u001b[1m\u001b[38;5;2mEXECUTION\u001b[62;35H\u001b[22m\u001b[39m|\u001b[62;37H\u001b[38;5;15m1 workflow(s) loaded\u001b[62;194H\u001b[1m\u001b[38;5;3me\u001b[22m\u001b[39m:\u001b[62;197HToggle\u001b[62;204HEmulation\u001b[62;214H|\u001b[62;216H\u001b[1m\u001b[38;5;3mv\u001b[22m\u001b[39m:\u001b[62;219HToggle\u001b[62;226HValidation\u001b[62;237H|\u001b[62;239H\u001b[1m\u001b[38;5;3mq\u001b[22m\u001b[39m:\u001b[62;242HQuit\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [11.895245, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [12.027435, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [12.155661, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [12.285298, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [12.41511, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [12.536683, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [12.654913, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [12.784987, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [12.919441, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [13.052315, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [13.181303, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [13.312979, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [13.447418, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [13.577515, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [13.708341, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [13.84212, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [13.97238, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [14.09813, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [14.231529, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [14.364825, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [14.485237, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [14.538352, "o", "\u001b[62;25H\u001b[1m\u001b[38;5;3mVALIDATION\u001b[22m\u001b[39m | \u001b[38;5;15m1 workflow(s) loaded\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [14.671113, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [14.805406, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [14.937058, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [15.068969, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [15.19597, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [15.325264, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [15.337, "o", "\u001b[5;4H\u001b[1m\u001b[38;5;2m\u001b[48;5;8m✓\u001b[5;6H\u001b[38;5;7m⏭ \u001b[39mmatrix-sample.yml\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [15.467794, "o", "\u001b[5;6H\u001b[1m\u001b[38;5;6m\u001b[48;5;8m⟳ \u001b[39mmatrix-sample.yml \u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [15.601104, "o", "\u001b[5;6H\u001b[1m\u001b[38;5;2m\u001b[48;5;8m✅\u001b[5;8H \u001b[39mmatrix-sample.yml\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [15.731386, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [15.862902, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [15.990732, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [16.124934, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [16.248679, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [16.378496, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [16.50896, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [16.641208, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [16.651941, "o", "\u001b[62;25H\u001b[1m\u001b[38;5;2mEXECUTION\u001b[22m\u001b[39m | \u001b[38;5;15m1 workflow(s) loaded\u001b[39m \u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [16.784548, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [16.914359, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [17.043188, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [17.168699, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [17.302973, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [17.434667, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [17.563747, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [17.698021, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [17.830232, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [17.960893, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [18.064539, "o", "\u001b[5;6H\u001b[1m\u001b[38;5;7m\u001b[48;5;8m⏭ \u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [18.170252, "o", "\u001b[5;6H\u001b[1m\u001b[38;5;6m\u001b[48;5;8m⟳ \u001b[39mmatrix-sample.yml \u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [18.277033, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [18.399268, "o", "\u001b[5;6H\u001b[1m\u001b[38;5;2m\u001b[48;5;8m✅\u001b[5;8H \u001b[39mmatrix-sample.yml\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [18.528672, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [18.661147, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [18.787055, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [18.919126, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [18.931589, "o", "\u001b[2;3H\u001b[4m\u001b[38;5;3mW\u001b[24m\u001b[38;5;15morkflows\u001b[2;15H\u001b[1m\u001b[38;5;3m\u001b[48;5;8mE\u001b[4mx\u001b[24mecution\u001b[4;1H\u001b[22m\u001b[39m\u001b[49m \u001b[5;1H ╭\u001b[38;5;3m Workflow Information \u001b[39m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────"] [18.93173, "o", "────────────╮ \u001b[6;1H │\u001b[38;5;4mWorkflow: \u001b[1m\u001b[38;5;15mmatrix-sample.yml\u001b[6;244H\u001b[22m\u001b[39m│ \u001b[7;1H │\u001b[38;5;4mStatus: \u001b[38;5;2mSuccess\u001b[7;244H\u001b[39m│ \u001b[8;1H │\u001b[8;244H│ \u001b[9;1H ╰─\u001b[38;5;0m\u001b[48;5;2m 100% \u001b[39m\u001b[49m─╯ \u001b[10;1H ╭\u001b[38;5;3m Jobs \u001b[39m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────"] [18.931793, "o", "────────────────────────────────────────────────────────────────────╮ \u001b[11;1H │\u001b[1m\u001b[48;5;8m» \u001b[38;5;2m✅\u001b[11;7H\u001b[39m \u001b[38;5;15mtest\u001b[39m \u001b[38;5;8m[6/6]\u001b[39m \u001b[22m\u001b[49m│ \u001b[12;1H │\u001b[12;244H│ \u001b[13;1H │\u001b[13;244H│ \u001b[14;1H │\u001b[14;244H│ \u001b[15;1H │\u001b[15;244H│ \u001b[16;1H │\u001b[16;244H│ \u001b[17;1H │\u001b[17;244H│ \u001b[18;1H │\u001b[18;244H│ \u001b[19;1H │\u001b[19;244H│ \u001b[20;1H │\u001b[20;244H│ \u001b[21;1H │\u001b[21;244H│ \u001b[22;1H │\u001b[22;244H│ \u001b[23;1H │\u001b[23;244H│ \u001b[24;1H │\u001b[24;244H│ \u001b[25;1H │\u001b[25;244H│ \u001b[26;1H │\u001b[26;244H│ \u001b[27;1H │\u001b[27;244H│ \u001b[28;1H │\u001b[28;244H│ \u001b[29;1H │\u001b[29;244H│ \u001b[30;1H │\u001b[30;244H│ \u001b[31;1H │\u001b[31;244H│ \u001b[32;"] [18.931844, "o", "1H │\u001b[32;244H│ \u001b[33;1H │\u001b[33;244H│ \u001b[34;1H │\u001b[34;244H│ \u001b[35;1H │\u001b[35;244H│ \u001b[36;1H │\u001b[36;244H│ \u001b[37;1H │\u001b[37;244H│ \u001b[38;1H │\u001b[38;244H│ \u001b[39;1H │\u001b[39;244H│ \u001b[40;1H │\u001b[40;244H│ \u001b[41;1H │\u001b[41;244H│ \u001b[42;1H │\u001b[42;244H│ \u001b[43;1H │\u001b[43;244H│ \u001b[44;1H │\u001b[44;244H│ \u001b[45;1H │\u001b[45;244H│ \u001b[46;1H │\u001b[46;244H│ \u001b[47;1H │\u001b[47;244H│ \u001b[48;1H │\u001b[48;244H│ \u001b[49;1H │\u001b[49;244H│ \u001b[50;1H │\u001b[50;244H│ \u001b[51;1H │\u001b[51;244H│ \u001b[52;1H │\u001b[52;244H│ \u001b[53;1H │\u001b[53;244H│ \u001b[54;1H ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────"] [18.932035, "o", "──────────────────────────────────────────────────────────────────────────────╯ \u001b[55;1H ╭\u001b[38;5;3m Execution Information \u001b[39m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ \u001b[56;1H │\u001b[38;5;4mStarted: \u001b[38;5;15m2025-04-14 16:58:50\u001b[56;244H\u001b[39m│ \u001b[57"] [18.932223, "o", ";1H │\u001b[38;5;4mFinished: \u001b[38;5;15m2025-04-14 16:58:51\u001b[57;244H\u001b[39m│ \u001b[58;1H │\u001b[38;5;4mDuration: \u001b[38;5;15m0m 0s\u001b[58;244H\u001b[39m│ \u001b[59;1H │\u001b[59;244H│ \u001b[60;1H ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ \u001b[61;1H "] [18.932292, "o", " \u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [19.062456, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [19.19704, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [19.329947, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [19.46069, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [19.593307, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [19.727646, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [19.862029, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [19.986345, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [20.121406, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [20.253468, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [20.280115, "o", "\u001b[5;4H\u001b[38;5;3mJ\u001b[5;6Hb Details (1/1) \u001b[39m───\u001b[6;3H\u001b[38;5;4mJ\u001b[6;5Hb: \u001b[1m\u001b[38;5;15mtest\u001b[22m\u001b[39m \u001b[8;2H╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[9;2H╭\u001b[38;5;3m Steps \u001b[39m─────────────────────────────────────────────"] [20.28027, "o", "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[9;244H╮\u001b[10;2H│\u001b[1m \u001b[38;5;3mStatus \u001b[39m \u001b[38;5;3mStep Name \u001b[39m \u001b[38;5;3mDuration \u001b[39m \u001b[22m│\u001b[11;3H\u001b[48;5;8m» \u001b[38;5;2m✅\u001b[11;7H \u001b[39m Step 1 "] [20.280379, "o", " \u001b[38;5;8m1s \u001b[39m \u001b[12;5H\u001b[38;5;2m\u001b[49m✅\u001b[12;7H \u001b[12;14H\u001b[39mSetup\u001b[12;20HNode.js\u001b[12;184H\u001b[38;5;8m1s \u001b[13;5H\u001b[38;5;2m✅\u001b[13;7H \u001b[13;14H\u001b[39mDisplay\u001b[13;22Hconfiguration\u001b[13;184H\u001b[38;5;8m1s \u001b[14;5H\u001b[38;5;2m✅\u001b[14;7H \u001b[14;14H\u001b[39mDisplay\u001b[14;22Hexperimental\u001b[14;35Hinfo\u001b[14;184H\u001b[38;5;8m1s \u001b[15;2H\u001b[39m╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────"] [20.280456, "o", "───────────────────────────────────────────────────────────╯\u001b[16;2H╭\u001b[38;5;3m Output \u001b[39m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮\u001b[17;3HEmulated\u001b[17;12Hcheckout:\u001b[17;22HCopied\u001b[17;29Hcurrent\u001b[17;37Hdirectory\u001b[17;47Hto\u001b[17;50Hworkspace\u001b[54;"] [20.280561, "o", "2H│ │\u001b[55;2H│ │\u001b[56;3H \u001b[57;3H \u001b[58;3H \u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [20.414497, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [20.547823, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [20.681956, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [20.813925, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [20.946198, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [21.080467, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [21.214928, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [21.342948, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [21.357497, "o", "\u001b[11;3H \u001b[38;5;2m✅\u001b[11;7H \u001b[39m Step 1 \u001b[38;5;8m1s \u001b[39m \u001b[12;3H\u001b[48;5;8m» \u001b[38;5;2m✅\u001b[12;7H \u001b[39m Setup Node.js \u001b[38;5;8m1s \u001b[39m \u001b[17;3H\u001b[49mWo\u001b[17;7Hd \u001b[17;10Hxe\u001b[17;13Hute Gi\u001b[17;20HHub action: actions/se\u001b[17;43Hup-node@v3 \u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [21.487132, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [21.616902, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [21.748424, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [21.754544, "o", "\u001b[12;3H \u001b[38;5;2m✅\u001b[12;7H \u001b[39m Setup Node.js \u001b[38;5;8m1s \u001b[39m \u001b[13;3H\u001b[48;5;8m» \u001b[38;5;2m✅\u001b[13;7H \u001b[39m Display configuration \u001b[38;5;8m1s \u001b[39m \u001b[17;3H\u001b[49mOS: ${{ matrix.os }}\u001b[17;24H \u001b[17;32H \u001b[18;3HNode\u001b[18;8Hversion:\u001b[18;17H${{\u001b[18;21Hmatrix.node\u001b[18;33H}}\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [21.886911, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [22.017905, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [22.115503, "o", "\u001b[13;3H \u001b[38;5;2m✅\u001b[13;7H \u001b[39m Display configuration \u001b[38;5;8m1s \u001b[39m \u001b[14;3H\u001b[48;5;8m» \u001b[38;5;2m✅\u001b[14;7H \u001b[39m Display experimental info \u001b[38;5;8m1s \u001b[39m \u001b[17;3H\u001b[49mThis is\u001b[17;11Han experimental\u001b[17;27Hconfiguration\u001b[18;3H \u001b[18;8H \u001b[18;17H \u001b[18;21H \u001b[18;33H \u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [22.247846, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [22.38119, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [22.508359, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [22.523721, "o", "\u001b[11;15Hetup Node.js\u001b[12;14HDisplay configuration\u001b[13;22Hexperimen\u001b[13;32Hal info\u001b[14;14H\u001b[48;5;8mBuild \u001b[14;22H \u001b[14;35H \u001b[17;3H\u001b[49mBu\u001b[17;6Hld\u001b[17;9Hng with Node ${{ matrix.node }}\u001b[17;41Hon\u001b[17;44H${{\u001b[17;48Hmatrix.os\u001b[17;58H}}\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [22.659626, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [22.793112, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [22.926161, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [22.937765, "o", "\u001b[11;14HDisplay configuration\u001b[12;22Hexperimen\u001b[12;32Hal info\u001b[13;14HBuild \u001b[13;22H \u001b[13;35H \u001b[14;14H\u001b[48;5;8mTest \u001b[17;3H\u001b[49mTesting with Node ${\u001b[17;24H matrix.node }\u001b[17;39H on ${\u001b[17;46H matrix.os }\u001b[17;59H \u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [23.07002, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [23.203337, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [23.332554, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [23.344968, "o", "\u001b[11;3H\u001b[48;5;8m» \u001b[38;5;2m✅\u001b[11;7H \u001b[39m Step 1 \u001b[38;5;8m1s \u001b[39m \u001b[12;14H\u001b[49mSetup Node.js \u001b[12;35H \u001b[13;14HDisplay\u001b[13;22Hconfiguration\u001b[14;3H \u001b[38;5;2m✅\u001b[14;7H \u001b[39m Display experimental info \u001b[38;5;8m1s \u001b[39m \u001b[17;3HEmulated check\u001b[17;18Hut: Copied current\u001b[17;37Hdirectory\u001b[17;47Hto workspace\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [23.478939, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [23.613183, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [23.739675, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [23.872886, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [24.000068, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [24.127087, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [24.151011, "o", "\u001b[2;15H\u001b[38;5;15mE\u001b[4m\u001b[38;5;3mx\u001b[24m\u001b[38;5;15mecution\u001b[2;27H\u001b[1m\u001b[4m\u001b[38;5;3m\u001b[48;5;8mL\u001b[24mogs\u001b[4;1H\u001b[22m\u001b[39m\u001b[49m╭\u001b[38;5;3m Execution Logs \u001b[39m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮\u001b[5;1H│ "] [24.15119, "o", " │\u001b[6;1H│ \u001b[6;244H │\u001b[7;1H│ \u001b[7;244H │\u001b[8;1H│ │\u001b[9;1H│ │\u001b[10;1H│ │\u001b[11;1H│ "] [24.151338, "o", " │\u001b[12;1H│ \u001b[12;5H \u001b[12;14H \u001b[12;20H \u001b[12;184H \u001b[12;244H │\u001b[13;1H│ \u001b[13;5H \u001b[13;14H \u001b[13;22H \u001b[13;184H \u001b[13;244H │\u001b[14;1H│ \u001b[14;5H \u001b[14;14H \u001b[14;22H \u001b[14;35H \u001b[14;184H \u001b[14;244H │\u001b[15;1H│ │\u001b[16;1H│ │\u001b[17;1H│ \u001b[17;12H \u001b[17;22H \u001b[17;29H \u001b[17;37H \u001b[17;47H \u001b[17"] [24.151489, "o", ";50H \u001b[17;244H │\u001b[18;1H│ \u001b[18;244H │\u001b[19;1H│ \u001b[19;244H │\u001b[20;1H│\u001b[38;5;7m16:58:51 ℹ️\u001b[20;13H All workflows completed execution\u001b[20;244H\u001b[39m │\u001b[21;1H│\u001b[38;5;2m16:58:51 ✅\u001b[21;13H Workflow 'matrix-sample.yml' completed successfully\u001b[21;244H\u001b[39m │\u001b[22;1H│\u001b[38;5;7m16:58:51 ℹ️\u001b[22;13H Emulating container: ubuntu:latest\u001b[22;244H\u001b[39m │\u001b[23;1H│\u001b[38;5;7m16:58:51 ℹ️\u001b[23;13H 🔄\u001b[23;16H Emulation: Pretending to pull image ubuntu:latest\u001b[23;244H\u001b[39m │\u001b[24;1H│\u001b[38;5;7m16:58:51 ℹ️\u001b[24;13H Emulating container: ubuntu:latest\u001b[24;244H\u001b[39m │\u001b[25;1H│\u001b[38;5;7m16:58:51 ℹ️\u001b[25;13H 🔄\u001b[25;16H Emulation: Pretending to pull image ubuntu:latest\u001b[25;244H\u001b[39m │\u001b[26;1H│\u001b[38;5;7m16:58:51 ℹ️\u001b[26;13H Emulating container: ubuntu:latest\u001b[26;244H\u001b[39m │\u001b[27;1H│\u001b[38;5;7m16:58:51 ℹ️\u001b[27;13H 🔄\u001b[27;16H Emulation: Pretending to pull image ubuntu:latest\u001b[27;244H\u001b[39m │\u001b[28;1H│\u001b[38;5;7m16:58:51 ℹ️\u001b[28;13H Emulating container: ubuntu:latest\u001b[28;244H\u001b[39m "] [24.151613, "o", "│\u001b[29;1H│\u001b[38;5;7m16:58:51 ℹ️\u001b[29;13H 🔄\u001b[29;16H Emulation: Pretending to pull image ubuntu:latest\u001b[29;244H\u001b[39m │\u001b[30;1H│\u001b[38;5;7m16:58:50 ℹ️\u001b[30;13H Emulating container: node:16-buster-slim\u001b[30;244H\u001b[39m │\u001b[31;1H│\u001b[38;5;7m16:58:50 ℹ️\u001b[31;13H Executing job: test\u001b[31;244H\u001b[39m │\u001b[32;1H│\u001b[38;5;7m16:58:50 ℹ️\u001b[32;13H 🔄\u001b[32;16H Emulation: Pretending to pull image ubuntu:latest\u001b[32;244H\u001b[39m │\u001b[33;1H│\u001b[38;5;1m16:58:50 ❌\u001b[33;13H Docker not available, falling back to emulation mode\u001b[33;244H\u001b[39m │\u001b[34;1H│\u001b[38;5;1m16:58:50 ❌\u001b[34;13H Docker ping failed: error trying to connect: No such file or directory (os error 2)\u001b[34;244H\u001b[39m │\u001b[35;1H│\u001b[38;5;7m16:58:50 ℹ️\u001b[35;13H Runtime: Docker\u001b[35;244H\u001b[39m │\u001b[36;1H│\u001b[38;5;7m16:58:50 ℹ️\u001b[36;13H Executing workflow: .github/workflows/matrix-sample.yml\u001b[36;244H\u001b[39m │\u001b[37;1H│\u001b[38;5;7m16:58:50 ℹ️\u001b[37;13H Executing workflow: matrix-sample.yml\u001b[37;244H\u001b[39m │\u001b[38;1H│\u001b[38;5;7m16:58:50 ℹ️\u001b[38;13H Starting w"] [24.151688, "o", "orkflow execution...\u001b[38;244H\u001b[39m │\u001b[39;1H│\u001b[38;5;7m16:58:50 ℹ️\u001b[39;13H Starting workflow execution...\u001b[39;244H\u001b[39m │\u001b[40;1H│\u001b[38;5;7m16:58:50 ℹ️\u001b[40;13H Queued 1 workflow(s) for execution\u001b[40;244H\u001b[39m │\u001b[41;1H│\u001b[38;5;7m16:58:48 ℹ️\u001b[41;13H All workflows completed execution\u001b[41;244H\u001b[39m │\u001b[42;1H│\u001b[38;5;2m16:58:48 ✅\u001b[42;13H Workflow 'matrix-sample.yml' completed successfully\u001b[42;244H\u001b[39m │\u001b[43;1H│\u001b[38;5;7m16:58:48 ℹ️\u001b[43;13H Executing workflow: matrix-sample.yml\u001b[43;244H\u001b[39m │\u001b[44;1H│\u001b[38;5;7m16:58:48 ℹ️\u001b[44;13H Starting workflow validation...\u001b[44;244H\u001b[39m │\u001b[45;1H│\u001b[38;5;7m16:58:48 ℹ️\u001b[45;13H Starting workflow execution...\u001b[45;244H\u001b[39m │\u001b[46;1H│\u001b[38;5;7m16:58:48 ℹ️\u001b[46;13H Queued 1 workflow(s) for execution\u001b[46;244H\u001b[39m │\u001b[47;1H│\u001b[38;5;7mAll workflows completed execution\u001b[47;244H\u001b[39m │\u001b[48;1H│\u001b[38;5;2mWorkflow 'matrix-sample.yml' execution completed with status: Success\u001b[48;244H\u001b[39m │\u001b[49;1H│\u001b[38;5;7mExecuting workflow: matrix"] [24.15175, "o", "-sample.yml\u001b[49;244H\u001b[39m │\u001b[50;1H│\u001b[38;5;7mStarting workflow execution...\u001b[50;244H\u001b[39m │\u001b[51;1H│\u001b[38;5;7mStarting workflow execution...\u001b[51;244H\u001b[39m │\u001b[52;1H│\u001b[38;5;7mQueued 1 workflow(s) for execution\u001b[52;244H\u001b[39m │\u001b[53;1H│\u001b[38;5;7mSwitched to execution mode\u001b[53;244H\u001b[39m │\u001b[54;1H│\u001b[38;5;7mAll workflows completed execution\u001b[54;244H\u001b[39m │\u001b[55;1H│\u001b[38;5;2mWorkflow 'matrix-sample.yml' execution completed with status: Success\u001b[55;244H\u001b[39m │\u001b[56;1H│\u001b[38;5;7mExecuting workflow: matrix-sample.yml\u001b[56;244H\u001b[39m │\u001b[57;1H│\u001b[38;5;7mStarting workflow validation...\u001b[57;244H\u001b[39m │\u001b[58;1H│\u001b[38;5;7mStarting workflow execution...\u001b[58;244H\u001b[39m │\u001b[59;1H│\u001b[38;5;7mQueued 1 workflow(s) for execution\u001b[59;244H\u001b[39m │\u001b[60;1H│\u001b[38;5;7mSwitched to validation mode\u001b[39m │"] [24.151817, "o", "\u001b[61;1H╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [24.281882, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [24.4173, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [24.54963, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [24.682524, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [24.815202, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [24.949974, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [25.08343, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [25.219803, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [25.354999, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [25.49029, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [25.621656, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [25.757919, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [25.893744, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [26.026147, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [26.161623, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [26.295421, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [26.306456, "o", "\u001b[2;27H\u001b[4m\u001b[38;5;3mL\u001b[24m\u001b[38;5;15mogs\u001b[2;34H\u001b[1m\u001b[4m\u001b[38;5;3m\u001b[48;5;8mH\u001b[24melp\u001b[4;3H\u001b[22m\u001b[49mHelp \u001b[39m──────────\u001b[5;2H\u001b[1m\u001b[38;5;6mKeyboard Controls\u001b[7;2H\u001b[38;5;3mTab\u001b[7;6H\u001b[22m\u001b[39m-\u001b[7;8HSwitch\u001b[7;15Hbetween\u001b[7;23Htabs\u001b[8;2H\u001b[1m\u001b[38;5;3m1-4\u001b[8;6H\u001b[22m\u001b[39m-\u001b[8;8HSwitch\u001b[8;15Hdirectly\u001b[8;24Hto\u001b[8;27Htab\u001b[9;2H\u001b[1m\u001b[38;5;3mUp/Down or j/k\u001b[9;17H\u001b[22m\u001b[39m-\u001b[9;19HNavigate\u001b[9;28Hlists\u001b[10;2H\u001b[1m\u001b[38;5;3mSpace\u001b[10;8H\u001b[22m\u001b[39m-\u001b[10;10HToggle\u001b[10;17Hworkflow\u001b[10;26Hselection\u001b[11;2H\u001b[1m\u001b[38;5;3mEnter\u001b[11;8H\u001b[22m\u001b[39m-\u001b[11;10HRun\u001b[11;14Hselected\u001b[11;23Hworkflow\u001b[11;32H/\u001b[11;34HView\u001b[11;39Hjob\u001b[11;43Hdetails\u001b[12;2H\u001b[1m\u001b[38;5;3mr\u001b[12;4H\u001b[22m\u001b[39m-\u001b[12;6HRun\u001b[12;10Hall\u001b[12;14Hselected\u001b[12;23Hworkflows\u001b[13;2H\u001b[1m\u001b[38;5;3ma\u001b[13;4H\u001b[22m\u001b[39m-\u001b[13;6HSelect\u001b[13;13Hall\u001b[13;17Hworkflows\u001b[14;2H\u001b[1m\u001b[38;5;3me\u001b[14;4H\u001b[22m\u001b[39m-\u001b[14;6HToggle\u001b[14;13Hbetween\u001b[14;21HDocker\u001b[14;28Hand\u001b[14;32HEmulation\u001b[14;42Hmode\u001b[15;2H\u001b[1m\u001b[38;5;3mv\u001b[15;4H\u001b[22m\u001b[39m-\u001b[15;6HToggle\u001b[15;13Hbetween\u001b[15;21HExecution\u001b[15;31Hand\u001b[15"] [26.306586, "o", ";35HValidation\u001b[15;46Hmode\u001b[16;2H\u001b[1m\u001b[38;5;3mn\u001b[16;4H\u001b[22m\u001b[39m-\u001b[16;6HDeselect\u001b[16;15Hall\u001b[16;19Hworkflows\u001b[17;2H\u001b[1m\u001b[38;5;3mEsc\u001b[17;6H\u001b[22m\u001b[39m-\u001b[17;8HBack\u001b[17;13H/\u001b[17;15HExit\u001b[17;20Hdetailed\u001b[17;29Hview\u001b[18;2H\u001b[1m\u001b[38;5;3mq\u001b[18;4H\u001b[22m\u001b[39m-\u001b[18;6HQuit\u001b[18;11Happlication\u001b[20;2H\u001b[1m\u001b[38;5;6mRuntime Modes\u001b[22m\u001b[39m \u001b[21;2H \u001b[22;2H\u001b[1m\u001b[38;5;4mDocker\u001b[22m\u001b[39m - Uses Docker to run workflows (default)\u001b[23;2H\u001b[1m\u001b[38;5;5mEmulation\u001b[22m\u001b[39m - Emulates GitHub Actions environment locally (no Docker\u001b[23;69Hrequired)\u001b[24;2H \u001b[25;2H \u001b[26;2H \u001b[27;2H \u001b[28;2H \u001b[29;2H \u001b[30;2H "] [26.306736, "o", " \u001b[31;2H \u001b[32;2H \u001b[33;2H \u001b[34;2H \u001b[35;2H \u001b[36;2H \u001b[37;2H \u001b[38;2H \u001b[39;2H \u001b[40;2H \u001b[41;2H \u001b[42;2H \u001b[43;2H \u001b[44;2H \u001b[45;2H \u001b[46;2H \u001b[47;2H \u001b[48;2H "] [26.30684, "o", " \u001b[49;2H \u001b[50;2H \u001b[51;2H \u001b[52;2H \u001b[53;2H \u001b[54;2H \u001b[55;2H \u001b[56;2H \u001b[57;2H \u001b[58;2H \u001b[59;2H \u001b[60;2H \u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [26.437058, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [26.572101, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [26.703265, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [26.83638, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [26.968908, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [27.098163, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [27.231513, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [27.365735, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [27.494304, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [27.624688, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [27.758051, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [27.891727, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [28.019551, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [28.151498, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [28.285949, "o", "\u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[?25l"] [28.367391, "o", "\u001b[?1049l\u001b[?1006l\u001b[?1015l\u001b[?1003l\u001b[?1002l\u001b[?1000l\u001b[?25h"] [28.371166, "o", "\u001b[1m\u001b[7m%\u001b[27m\u001b[1m\u001b[0m \r \r"] [28.373297, "o", "\u001b]2;goku@Gokuls-MacBook-Pro:~/projects/wrkflw\u0007\u001b]1;..ojects/wrkflw\u0007"] [28.377904, "o", "\u001b]7;file://Gokuls-MacBook-Pro.local/Users/goku/projects/wrkflw\u001b\\"] [28.382012, "o", "\r\u001b[0m\u001b[27m\u001b[24m\u001b[J\u001b[01;32m➜ \u001b[36mwrkflw\u001b[00m \u001b[01;34m(\u001b[31mmain\u001b[34m) \u001b[33m✗\u001b[00m \u001b[K"] [28.382364, "o", "\u001b[?1h\u001b=\u001b[?2004h"] [30.365324, "o", "\u001b[?2004l\r\r\n"] ``` ## /demo.gif Binary file available at https://raw.githubusercontent.com/bahdotsh/wrkflw/refs/heads/main/demo.gif ## /examples/cpp-test.yml ```yml path="/examples/cpp-test.yml" name: C++ Test on: push: branches: [ main ] pull_request: jobs: test: name: Test C++ runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 - name: Setup GCC uses: egor-tensin/setup-gcc@v1 with: version: 11 - name: Check GCC version run: g++ --version - name: Create simple program run: | echo '#include ' > hello.cpp echo 'int main() {' >> hello.cpp echo ' std::cout << "Hello from C++!" << std::endl;' >> hello.cpp echo ' std::cout << "Running on GCC" << std::endl;' >> hello.cpp echo ' return 0;' >> hello.cpp echo '}' >> hello.cpp - name: Build C++ program run: g++ hello.cpp -o hello - name: Run C++ program run: ./hello ``` ## /examples/example.yml ```yml path="/examples/example.yml" name: Basic Workflow Example on: push: branches: ["main"] pull_request: branches: ["main"] env: GLOBAL_VAR: "global value" jobs: test-job: runs-on: ubuntu-latest steps: - name: Echo Hello run: echo "Hello World" - name: Show Environment run: echo "Using global var: $GLOBAL_VAR" - name: Run Multiple Commands run: | echo "This is a multi-line command" echo "Current directory: $PWD" ls -la ``` ## /examples/matrix-example.yml ```yml path="/examples/matrix-example.yml" name: Matrix Example triggers: push: branches: ["main"] pull_request: branches: ["main"] env: GLOBAL_VAR: "This applies to all jobs" jobs: test: name: "Test" strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] node-version: [14, 16, 18] include: - os: ubuntu-latest node-version: 20 experimental: true exclude: - os: windows-latest node-version: 14 fail-fast: false max-parallel: 2 steps: - name: Checkout code uses: actions/checkout@v3 - name: Setup Node.js uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - name: Show configuration run: | echo "Running on: ${{ matrix.os }}" echo "Node version: ${{ matrix.node-version }}" if [ "${{ matrix.experimental }}" = "true" ]; then echo "This is an experimental configuration" fi ``` ## /examples/node-test.yml ```yml path="/examples/node-test.yml" name: Node.js Test on: push: branches: [ main ] pull_request: jobs: test: name: Test Node.js runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 - name: Setup Node.js uses: actions/setup-node@v3 with: node-version: '16.x' - name: Check Node.js version run: node --version - name: Create simple script run: | echo 'console.log("Hello from Node.js!");' > test.js echo 'console.log(`Node.js version: ${process.version}`);' >> test.js - name: Run Node.js script run: node test.js ``` ## /examples/python-test.yml ```yml path="/examples/python-test.yml" name: Python Test on: push: branches: [ main ] pull_request: jobs: test: name: Test Python runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 - name: Setup Python uses: actions/setup-python@v4 with: python-version: '3.9' - name: Check Python version run: python3 --version - name: Create simple script run: | echo 'print("Hello from Python!")' > test.py echo 'import sys; print(f"Python version: {sys.version}")' >> test.py - name: Run Python script run: python3 test.py ``` ## /examples/rust-test.yml ```yml path="/examples/rust-test.yml" name: Rust Test on: push: branches: [ main ] pull_request: jobs: test: name: Test Rust runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 - name: Setup Rust uses: actions-rs/toolchain@v1 with: toolchain: stable profile: minimal override: true - name: Check Rust version run: rustc --version - name: Create simple program run: | echo 'fn main() {' > hello.rs echo ' println!("Hello from Rust!");' >> hello.rs echo ' println!("Running on Rust");' >> hello.rs echo '}' >> hello.rs - name: Build Rust program run: rustc hello.rs -o hello - name: Run Rust program run: ./hello ``` ## /examples/test.yml ```yml path="/examples/test.yml" name: Test on: workflow_dispatch: jobs: test: runs-on: 'ubuntu-latest' steps: - name: Hey run: | echo hello && echo world ``` ## /examples/trigger_gitlab.sh ```sh path="/examples/trigger_gitlab.sh" #!/bin/bash # Example script to trigger GitLab pipelines using wrkflw # Check if GITLAB_TOKEN is set if [ -z "${GITLAB_TOKEN}" ]; then echo "Error: GITLAB_TOKEN environment variable is not set." echo "Please set it with: export GITLAB_TOKEN=your_token_here" exit 1 fi # Ensure we're in a Git repository if ! git rev-parse --is-inside-work-tree > /dev/null 2>&1; then echo "Error: Not in a Git repository." echo "Please run this script from within a Git repository with a GitLab remote." exit 1 fi # Check for .gitlab-ci.yml file if [ ! -f .gitlab-ci.yml ]; then echo "Warning: No .gitlab-ci.yml file found in the current directory." echo "The pipeline trigger might fail if there is no pipeline configuration." fi # Function to display help show_help() { echo "GitLab Pipeline Trigger Examples" echo "--------------------------------" echo "Usage: $0 [example-number]" echo "" echo "Available examples:" echo " 1: Trigger default pipeline on the current branch" echo " 2: Trigger pipeline on main branch" echo " 3: Trigger release build" echo " 4: Trigger documentation build" echo " 5: Trigger pipeline with multiple variables" echo "" echo "For custom commands, modify this script or run wrkflw directly:" echo " wrkflw trigger-gitlab [options]" } # No arguments, show help if [ $# -eq 0 ]; then show_help exit 0 fi # Handle examples case "$1" in "1") echo "Triggering default pipeline on the current branch..." wrkflw trigger-gitlab ;; "2") echo "Triggering pipeline on main branch..." wrkflw trigger-gitlab --branch main ;; "3") echo "Triggering release build..." wrkflw trigger-gitlab --variable BUILD_RELEASE=true ;; "4") echo "Triggering documentation build..." wrkflw trigger-gitlab --variable BUILD_DOCS=true ;; "5") echo "Triggering pipeline with multiple variables..." wrkflw trigger-gitlab --variable BUILD_RELEASE=true --variable BUILD_DOCS=true ;; *) echo "Unknown example: $1" show_help exit 1 ;; esac ``` ## /schemas/github-workflow.json ```json path="/schemas/github-workflow.json" { "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://json.schemastore.org/github-workflow.json", "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions", "additionalProperties": false, "definitions": { "architecture": { "type": "string", "enum": ["ARM32", "x64", "x86"] }, "branch": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#onpushpull_requestbranchestags", "$ref": "#/definitions/globs", "description": "When using the push and pull_request events, you can configure a workflow to run on specific branches or tags. If you only define only tags or only branches, the workflow won't run for events affecting the undefined Git ref.\nThe branches, branches-ignore, tags, and tags-ignore keywords accept glob patterns that use the * and ** wildcard characters to match more than one branch or tag name. For more information, see https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet.\nThe patterns defined in branches and tags are evaluated against the Git ref's name. For example, defining the pattern mona/octocat in branches will match the refs/heads/mona/octocat Git ref. The pattern releases/** will match the refs/heads/releases/10 Git ref.\nYou can use two types of filters to prevent a workflow from running on pushes and pull requests to tags and branches:\n- branches or branches-ignore - You cannot use both the branches and branches-ignore filters for the same event in a workflow. Use the branches filter when you need to filter branches for positive matches and exclude branches. Use the branches-ignore filter when you only need to exclude branch names.\n- tags or tags-ignore - You cannot use both the tags and tags-ignore filters for the same event in a workflow. Use the tags filter when you need to filter tags for positive matches and exclude tags. Use the tags-ignore filter when you only need to exclude tag names.\nYou can exclude tags and branches using the ! character. The order that you define patterns matters.\n- A matching negative pattern (prefixed with !) after a positive match will exclude the Git ref.\n- A matching positive pattern after a negative match will include the Git ref again." }, "concurrency": { "type": "object", "properties": { "group": { "$comment": "https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-using-concurrency-to-cancel-any-in-progress-job-or-run-1", "description": "When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending. Any previously pending job or workflow in the concurrency group will be canceled.", "type": "string" }, "cancel-in-progress": { "$comment": "https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-using-concurrency-to-cancel-any-in-progress-job-or-run-1", "description": "To cancel any currently running job or workflow in the same concurrency group, specify cancel-in-progress: true.", "oneOf": [ { "type": "boolean" }, { "$ref": "#/definitions/expressionSyntax" } ] } }, "required": ["group"], "additionalProperties": false }, "configuration": { "oneOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" }, { "type": "object", "additionalProperties": { "$ref": "#/definitions/configuration" } }, { "type": "array", "items": { "$ref": "#/definitions/configuration" } } ] }, "container": { "type": "object", "properties": { "image": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idcontainerimage", "description": "The Docker image to use as the container to run the action. The value can be the Docker Hub image name or a registry name.", "type": "string" }, "credentials": { "$comment": "https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idcontainercredentials", "description": "If the image's container registry requires authentication to pull the image, you can use credentials to set a map of the username and password. The credentials are the same values that you would provide to the `docker login` command.", "type": "object", "properties": { "username": { "type": "string" }, "password": { "type": "string" } } }, "env": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idcontainerenv", "$ref": "#/definitions/env", "description": "Sets an array of environment variables in the container." }, "ports": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idcontainerports", "description": "Sets an array of ports to expose on the container.", "type": "array", "items": { "oneOf": [ { "type": "number" }, { "type": "string" } ] }, "minItems": 1 }, "volumes": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idcontainervolumes", "description": "Sets an array of volumes for the container to use. You can use volumes to share data between services or other steps in a job. You can specify named Docker volumes, anonymous Docker volumes, or bind mounts on the host.\nTo specify a volume, you specify the source and destination path: :\nThe is a volume name or an absolute path on the host machine, and is an absolute path in the container.", "type": "array", "items": { "type": "string" }, "minItems": 1 }, "options": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idcontaineroptions", "description": "Additional Docker container resource options. For a list of options, see https://docs.docker.com/engine/reference/commandline/create/#options.", "type": "string" } }, "required": ["image"], "additionalProperties": false }, "defaults": { "type": "object", "properties": { "run": { "type": "object", "properties": { "shell": { "$ref": "#/definitions/shell" }, "working-directory": { "$ref": "#/definitions/working-directory" } }, "minProperties": 1, "additionalProperties": false } }, "minProperties": 1, "additionalProperties": false }, "permissions": { "$comment": "https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions", "description": "You can modify the default permissions granted to the GITHUB_TOKEN, adding or removing access as required, so that you only allow the minimum required access.", "oneOf": [ { "type": "string", "enum": ["read-all", "write-all"] }, { "$ref": "#/definitions/permissions-event" } ] }, "permissions-event": { "type": "object", "additionalProperties": false, "properties": { "actions": { "$ref": "#/definitions/permissions-level" }, "attestations": { "$ref": "#/definitions/permissions-level" }, "checks": { "$ref": "#/definitions/permissions-level" }, "contents": { "$ref": "#/definitions/permissions-level" }, "deployments": { "$ref": "#/definitions/permissions-level" }, "discussions": { "$ref": "#/definitions/permissions-level" }, "id-token": { "$ref": "#/definitions/permissions-level" }, "issues": { "$ref": "#/definitions/permissions-level" }, "packages": { "$ref": "#/definitions/permissions-level" }, "pages": { "$ref": "#/definitions/permissions-level" }, "pull-requests": { "$ref": "#/definitions/permissions-level" }, "repository-projects": { "$ref": "#/definitions/permissions-level" }, "security-events": { "$ref": "#/definitions/permissions-level" }, "statuses": { "$ref": "#/definitions/permissions-level" } } }, "permissions-level": { "type": "string", "enum": ["read", "write", "none"] }, "env": { "$comment": "https://docs.github.com/en/actions/learn-github-actions/environment-variables", "description": "To set custom environment variables, you need to specify the variables in the workflow file. You can define environment variables for a step, job, or entire workflow using the jobs..steps[*].env, jobs..env, and env keywords. For more information, see https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepsenv", "oneOf": [ { "type": "object", "additionalProperties": { "oneOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] } }, { "$ref": "#/definitions/stringContainingExpressionSyntax" } ] }, "environment": { "$comment": "https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idenvironment", "description": "The environment that the job references", "type": "object", "properties": { "name": { "$comment": "https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#example-using-a-single-environment-name", "description": "The name of the environment configured in the repo.", "type": "string" }, "url": { "$comment": "https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#example-using-environment-name-and-url", "description": "A deployment URL", "type": "string" } }, "required": ["name"], "additionalProperties": false }, "event": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows", "type": "string", "enum": [ "branch_protection_rule", "check_run", "check_suite", "create", "delete", "deployment", "deployment_status", "discussion", "discussion_comment", "fork", "gollum", "issue_comment", "issues", "label", "merge_group", "milestone", "page_build", "project", "project_card", "project_column", "public", "pull_request", "pull_request_review", "pull_request_review_comment", "pull_request_target", "push", "registry_package", "release", "status", "watch", "workflow_call", "workflow_dispatch", "workflow_run", "repository_dispatch" ] }, "eventObject": { "oneOf": [ { "type": "object" }, { "type": "null" } ], "additionalProperties": true }, "expressionSyntax": { "$comment": "escape `{` and `}` in pattern to be unicode compatible (#1360)", "type": "string", "pattern": "^\\$\\{\\{(.|[\r\n])*\\}\\}$" }, "stringContainingExpressionSyntax": { "$comment": "escape `{` and `}` in pattern to be unicode compatible (#1360)", "type": "string", "pattern": "^.*\\$\\{\\{(.|[\r\n])*\\}\\}.*$" }, "globs": { "type": "array", "items": { "type": "string", "minLength": 1 }, "minItems": 1 }, "machine": { "type": "string", "enum": ["linux", "macos", "windows"] }, "name": { "type": "string", "pattern": "^[_a-zA-Z][a-zA-Z0-9_-]*$" }, "path": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#onpushpull_requestpaths", "$ref": "#/definitions/globs", "description": "When using the push and pull_request events, you can configure a workflow to run when at least one file does not match paths-ignore or at least one modified file matches the configured paths. Path filters are not evaluated for pushes to tags.\nThe paths-ignore and paths keywords accept glob patterns that use the * and ** wildcard characters to match more than one path name. For more information, see https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet.\nYou can exclude paths using two types of filters. You cannot use both of these filters for the same event in a workflow.\n- paths-ignore - Use the paths-ignore filter when you only need to exclude path names.\n- paths - Use the paths filter when you need to filter paths for positive matches and exclude paths." }, "ref": { "properties": { "branches": { "$ref": "#/definitions/branch" }, "branches-ignore": { "$ref": "#/definitions/branch" }, "tags": { "$ref": "#/definitions/branch" }, "tags-ignore": { "$ref": "#/definitions/branch" }, "paths": { "$ref": "#/definitions/path" }, "paths-ignore": { "$ref": "#/definitions/path" } }, "oneOf": [ { "type": "object", "allOf": [ { "not": { "required": ["branches", "branches-ignore"] } }, { "not": { "required": ["tags", "tags-ignore"] } }, { "not": { "required": ["paths", "paths-ignore"] } } ] }, { "type": "null" } ] }, "shell": { "$comment": "https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell", "description": "You can override the default shell settings in the runner's operating system using the shell keyword. You can use built-in shell keywords, or you can define a custom set of shell options.", "anyOf": [ { "type": "string" }, { "$comment": "https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#custom-shell", "type": "string", "enum": ["bash", "pwsh", "python", "sh", "cmd", "powershell"] } ] }, "step": { "type": "object", "additionalProperties": false, "dependencies": { "working-directory": ["run"], "shell": ["run"] }, "oneOf": [ { "required": ["uses"] }, { "required": ["run"] } ], "properties": { "id": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepsid", "description": "A unique identifier for the step. You can use the id to reference the step in contexts. For more information, see https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions.", "type": "string" }, "if": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepsif", "description": "You can use the if conditional to prevent a step from running unless a condition is met. You can use any supported context and expression to create a conditional.\nExpressions in an if conditional do not require the ${{ }} syntax. For more information, see https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions.", "type": ["boolean", "number", "string"] }, "name": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepsname", "description": "A name for your step to display on GitHub.", "type": "string" }, "uses": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepsuses", "description": "Selects an action to run as part of a step in your job. An action is a reusable unit of code. You can use an action defined in the same repository as the workflow, a public repository, or in a published Docker container image (https://hub.docker.com/).\nWe strongly recommend that you include the version of the action you are using by specifying a Git ref, SHA, or Docker tag number. If you don't specify a version, it could break your workflows or cause unexpected behavior when the action owner publishes an update.\n- Using the commit SHA of a released action version is the safest for stability and security.\n- Using the specific major action version allows you to receive critical fixes and security patches while still maintaining compatibility. It also assures that your workflow should still work.\n- Using the master branch of an action may be convenient, but if someone releases a new major version with a breaking change, your workflow could break.\nSome actions require inputs that you must set using the with keyword. Review the action's README file to determine the inputs required.\nActions are either JavaScript files or Docker containers. If the action you're using is a Docker container you must run the job in a Linux virtual environment. For more details, see https://help.github.com/en/articles/virtual-environments-for-github-actions.", "type": "string" }, "run": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepsrun", "description": "Runs command-line programs using the operating system's shell. If you do not provide a name, the step name will default to the text specified in the run command.\nCommands run using non-login shells by default. You can choose a different shell and customize the shell used to run commands. For more information, see https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#using-a-specific-shell.\nEach run keyword represents a new process and shell in the virtual environment. When you provide multi-line commands, each line runs in the same shell.", "type": "string" }, "working-directory": { "$ref": "#/definitions/working-directory" }, "shell": { "$ref": "#/definitions/shell" }, "with": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepswith", "$ref": "#/definitions/env", "description": "A map of the input parameters defined by the action. Each input parameter is a key/value pair. Input parameters are set as environment variables. The variable is prefixed with INPUT_ and converted to upper case.", "properties": { "args": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepswithargs", "type": "string" }, "entrypoint": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepswithentrypoint", "type": "string" } } }, "env": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepsenv", "$ref": "#/definitions/env", "description": "Sets environment variables for steps to use in the virtual environment. You can also set environment variables for the entire workflow or a job." }, "continue-on-error": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error", "description": "Prevents a job from failing when a step fails. Set to true to allow a job to pass when this step fails.", "oneOf": [ { "type": "boolean" }, { "$ref": "#/definitions/expressionSyntax" } ], "default": false }, "timeout-minutes": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepstimeout-minutes", "description": "The maximum number of minutes to run the step before killing the process.", "oneOf": [ { "type": "number" }, { "$ref": "#/definitions/expressionSyntax" } ] } } }, "types": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#onevent_nametypes", "description": "Selects the types of activity that will trigger a workflow run. Most GitHub events are triggered by more than one type of activity. For example, the event for the release resource is triggered when a release is published, unpublished, created, edited, deleted, or prereleased. The types keyword enables you to narrow down activity that causes the workflow to run. When only one activity type triggers a webhook event, the types keyword is unnecessary.\nYou can use an array of event types. For more information about each event and their activity types, see https://help.github.com/en/articles/events-that-trigger-workflows#webhook-events.", "oneOf": [ { "type": "array", "minItems": 1 }, { "type": "string" } ] }, "working-directory": { "$comment": "https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsrun", "description": "Using the working-directory keyword, you can specify the working directory of where to run the command.", "type": "string" }, "jobNeeds": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idneeds", "description": "Identifies any jobs that must complete successfully before this job will run. It can be a string or array of strings. If a job fails, all jobs that need it are skipped unless the jobs use a conditional statement that causes the job to continue.", "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/name" }, "minItems": 1 }, { "$ref": "#/definitions/name" } ] }, "matrix": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix", "description": "A build matrix is a set of different configurations of the virtual environment. For example you might run a job against more than one supported version of a language, operating system, or tool. Each configuration is a copy of the job that runs and reports a status.\nYou can specify a matrix by supplying an array for the configuration options. For example, if the GitHub virtual environment supports Node.js versions 6, 8, and 10 you could specify an array of those versions in the matrix.\nWhen you define a matrix of operating systems, you must set the required runs-on keyword to the operating system of the current job, rather than hard-coding the operating system name. To access the operating system name, you can use the matrix.os context parameter to set runs-on. For more information, see https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions.", "oneOf": [ { "type": "object", "patternProperties": { "^(in|ex)clude$": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#example-including-configurations-in-a-matrix-build", "oneOf": [ { "$ref": "#/definitions/expressionSyntax" }, { "type": "array", "items": { "type": "object", "additionalProperties": { "$ref": "#/definitions/configuration" } }, "minItems": 1 } ] } }, "additionalProperties": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/configuration" }, "minItems": 1 }, { "$ref": "#/definitions/expressionSyntax" } ] }, "minProperties": 1 }, { "$ref": "#/definitions/expressionSyntax" } ] }, "reusableWorkflowCallJob": { "$comment": "https://docs.github.com/en/actions/learn-github-actions/reusing-workflows#calling-a-reusable-workflow", "description": "Each job must have an id to associate with the job. The key job_id is a string and its value is a map of the job's configuration data. You must replace with a string that is unique to the jobs object. The must start with a letter or _ and contain only alphanumeric characters, -, or _.", "type": "object", "properties": { "name": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idname", "description": "The name of the job displayed on GitHub.", "type": "string" }, "needs": { "$ref": "#/definitions/jobNeeds" }, "permissions": { "$ref": "#/definitions/permissions" }, "if": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idif", "description": "You can use the if conditional to prevent a job from running unless a condition is met. You can use any supported context and expression to create a conditional.\nExpressions in an if conditional do not require the ${{ }} syntax. For more information, see https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions.", "type": ["boolean", "number", "string"] }, "uses": { "$comment": "https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_iduses", "description": "The location and version of a reusable workflow file to run as a job, of the form './{path/to}/{localfile}.yml' or '{owner}/{repo}/{path}/{filename}@{ref}'. {ref} can be a SHA, a release tag, or a branch name. Using the commit SHA is the safest for stability and security.", "type": "string", "pattern": "^(.+\\/)+(.+)\\.(ya?ml)(@.+)?$" }, "with": { "$comment": "https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idwith", "$ref": "#/definitions/env", "description": "A map of inputs that are passed to the called workflow. Any inputs that you pass must match the input specifications defined in the called workflow. Unlike 'jobs..steps[*].with', the inputs you pass with 'jobs..with' are not be available as environment variables in the called workflow. Instead, you can reference the inputs by using the inputs context." }, "secrets": { "$comment": "https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idsecrets", "description": "When a job is used to call a reusable workflow, you can use 'secrets' to provide a map of secrets that are passed to the called workflow. Any secrets that you pass must match the names defined in the called workflow.", "oneOf": [ { "$ref": "#/definitions/env" }, { "type": "string", "enum": ["inherit"] } ] }, "strategy": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategy", "description": "A strategy creates a build matrix for your jobs. You can define different variations of an environment to run each job in.", "type": "object", "properties": { "matrix": { "$ref": "#/definitions/matrix" }, "fail-fast": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast", "description": "When set to true, GitHub cancels all in-progress jobs if any matrix job fails. Default: true", "type": ["boolean", "string"], "default": true }, "max-parallel": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategymax-parallel", "description": "The maximum number of jobs that can run simultaneously when using a matrix job strategy. By default, GitHub will maximize the number of jobs run in parallel depending on the available runners on GitHub-hosted virtual machines.", "type": ["number", "string"] } }, "required": ["matrix"], "additionalProperties": false }, "concurrency": { "$comment": "https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idconcurrency", "description": "Concurrency ensures that only a single job or workflow using the same concurrency group will run at a time. A concurrency group can be any string or expression. The expression can use any context except for the secrets context. \nYou can also specify concurrency at the workflow level. \nWhen a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending. Any previously pending job or workflow in the concurrency group will be canceled. To also cancel any currently running job or workflow in the same concurrency group, specify cancel-in-progress: true.", "oneOf": [ { "type": "string" }, { "$ref": "#/definitions/concurrency" } ] } }, "required": ["uses"], "additionalProperties": false }, "normalJob": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_id", "description": "Each job must have an id to associate with the job. The key job_id is a string and its value is a map of the job's configuration data. You must replace with a string that is unique to the jobs object. The must start with a letter or _ and contain only alphanumeric characters, -, or _.", "type": "object", "properties": { "name": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idname", "description": "The name of the job displayed on GitHub.", "type": "string" }, "needs": { "$ref": "#/definitions/jobNeeds" }, "permissions": { "$ref": "#/definitions/permissions" }, "runs-on": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idruns-on", "description": "The type of machine to run the job on. The machine can be either a GitHub-hosted runner, or a self-hosted runner.", "anyOf": [ { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#github-hosted-runners", "type": "string" }, { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#self-hosted-runners", "type": "array", "anyOf": [ { "items": [ { "type": "string" } ], "minItems": 1, "additionalItems": { "type": "string" } } ] }, { "$comment": "https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-runners-in-a-group", "type": "object", "properties": { "group": { "type": "string" }, "labels": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] } } }, { "$ref": "#/definitions/stringContainingExpressionSyntax" }, { "$ref": "#/definitions/expressionSyntax" } ] }, "environment": { "$comment": "https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idenvironment", "description": "The environment that the job references.", "oneOf": [ { "type": "string" }, { "$ref": "#/definitions/environment" } ] }, "outputs": { "$comment": "https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idoutputs", "description": "A map of outputs for a job. Job outputs are available to all downstream jobs that depend on this job.", "type": "object", "additionalProperties": { "type": "string" }, "minProperties": 1 }, "env": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idenv", "$ref": "#/definitions/env", "description": "A map of environment variables that are available to all steps in the job." }, "defaults": { "$comment": "https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_iddefaults", "$ref": "#/definitions/defaults", "description": "A map of default settings that will apply to all steps in the job." }, "if": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idif", "description": "You can use the if conditional to prevent a job from running unless a condition is met. You can use any supported context and expression to create a conditional.\nExpressions in an if conditional do not require the ${{ }} syntax. For more information, see https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions.", "type": ["boolean", "number", "string"] }, "steps": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idsteps", "description": "A job contains a sequence of tasks called steps. Steps can run commands, run setup tasks, or run an action in your repository, a public repository, or an action published in a Docker registry. Not all steps run actions, but all actions run as a step. Each step runs in its own process in the virtual environment and has access to the workspace and filesystem. Because steps run in their own process, changes to environment variables are not preserved between steps. GitHub provides built-in steps to set up and complete a job.\nMust contain either `uses` or `run`\n", "type": "array", "items": { "$ref": "#/definitions/step" }, "minItems": 1 }, "timeout-minutes": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes", "description": "The maximum number of minutes to let a workflow run before GitHub automatically cancels it. Default: 360", "oneOf": [ { "type": "number" }, { "$ref": "#/definitions/expressionSyntax" } ], "default": 360 }, "strategy": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategy", "description": "A strategy creates a build matrix for your jobs. You can define different variations of an environment to run each job in.", "type": "object", "properties": { "matrix": { "$ref": "#/definitions/matrix" }, "fail-fast": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast", "description": "When set to true, GitHub cancels all in-progress jobs if any matrix job fails. Default: true", "type": ["boolean", "string"], "default": true }, "max-parallel": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategymax-parallel", "description": "The maximum number of jobs that can run simultaneously when using a matrix job strategy. By default, GitHub will maximize the number of jobs run in parallel depending on the available runners on GitHub-hosted virtual machines.", "type": ["number", "string"] } }, "required": ["matrix"], "additionalProperties": false }, "continue-on-error": { "$comment": "https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idcontinue-on-error", "description": "Prevents a workflow run from failing when a job fails. Set to true to allow a workflow run to pass when this job fails.", "oneOf": [ { "type": "boolean" }, { "$ref": "#/definitions/expressionSyntax" } ] }, "container": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idcontainer", "description": "A container to run any steps in a job that don't already specify a container. If you have steps that use both script and container actions, the container actions will run as sibling containers on the same network with the same volume mounts.\nIf you do not set a container, all steps will run directly on the host specified by runs-on unless a step refers to an action configured to run in a container.", "oneOf": [ { "type": "string" }, { "$ref": "#/definitions/container" } ] }, "services": { "$comment": "https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idservices", "description": "Additional containers to host services for a job in a workflow. These are useful for creating databases or cache services like redis. The runner on the virtual machine will automatically create a network and manage the life cycle of the service containers.\nWhen you use a service container for a job or your step uses container actions, you don't need to set port information to access the service. Docker automatically exposes all ports between containers on the same network.\nWhen both the job and the action run in a container, you can directly reference the container by its hostname. The hostname is automatically mapped to the service name.\nWhen a step does not use a container action, you must access the service using localhost and bind the ports.", "type": "object", "additionalProperties": { "$ref": "#/definitions/container" } }, "concurrency": { "$comment": "https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idconcurrency", "description": "Concurrency ensures that only a single job or workflow using the same concurrency group will run at a time. A concurrency group can be any string or expression. The expression can use any context except for the secrets context. \nYou can also specify concurrency at the workflow level. \nWhen a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending. Any previously pending job or workflow in the concurrency group will be canceled. To also cancel any currently running job or workflow in the same concurrency group, specify cancel-in-progress: true.", "oneOf": [ { "type": "string" }, { "$ref": "#/definitions/concurrency" } ] } }, "required": ["runs-on"], "additionalProperties": false }, "workflowDispatchInput": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputsinput_id", "description": "A string identifier to associate with the input. The value of is a map of the input's metadata. The must be a unique identifier within the inputs object. The must start with a letter or _ and contain only alphanumeric characters, -, or _.", "type": "object", "properties": { "description": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputsinput_iddescription", "description": "A string description of the input parameter.", "type": "string" }, "deprecationMessage": { "description": "A string shown to users using the deprecated input.", "type": "string" }, "required": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputsinput_idrequired", "description": "A boolean to indicate whether the action requires the input parameter. Set to true when the parameter is required.", "type": "boolean" }, "default": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputsinput_iddefault", "description": "A string representing the default value. The default value is used when an input parameter isn't specified in a workflow file." }, "type": { "$comment": "https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_dispatchinputsinput_idtype", "description": "A string representing the type of the input.", "type": "string", "enum": ["string", "choice", "boolean", "number", "environment"] }, "options": { "$comment": "https://github.blog/changelog/2021-11-10-github-actions-input-types-for-manual-workflows", "description": "The options of the dropdown list, if the type is a choice.", "type": "array", "items": { "type": "string" }, "minItems": 1 } }, "allOf": [ { "if": { "properties": { "type": { "const": "string" } }, "required": ["type"] }, "then": { "properties": { "default": { "type": "string" } } } }, { "if": { "properties": { "type": { "const": "boolean" } }, "required": ["type"] }, "then": { "properties": { "default": { "type": "boolean" } } } }, { "if": { "properties": { "type": { "const": "number" } }, "required": ["type"] }, "then": { "properties": { "default": { "type": "number" } } } }, { "if": { "properties": { "type": { "const": "environment" } }, "required": ["type"] }, "then": { "properties": { "default": { "type": "string" } } } }, { "if": { "properties": { "type": { "const": "choice" } }, "required": ["type"] }, "then": { "required": ["options"] } } ], "required": ["description"], "additionalProperties": false } }, "properties": { "name": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#name", "description": "The name of your workflow. GitHub displays the names of your workflows on your repository's actions page. If you omit this field, GitHub sets the name to the workflow's filename.", "type": "string" }, "on": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#on", "description": "The name of the GitHub event that triggers the workflow. You can provide a single event string, array of events, array of event types, or an event configuration map that schedules a workflow or restricts the execution of a workflow to specific files, tags, or branch changes. For a list of available events, see https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows.", "oneOf": [ { "$ref": "#/definitions/event" }, { "type": "array", "items": { "$ref": "#/definitions/event" }, "minItems": 1 }, { "type": "object", "properties": { "branch_protection_rule": { "$comment": "https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#branch_protection_rule", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the branch_protection_rule event occurs. More than one activity type triggers this event.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": ["created", "edited", "deleted"] }, "default": ["created", "edited", "deleted"] } } }, "check_run": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#check-run-event-check_run", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the check_run event occurs. More than one activity type triggers this event. For information about the REST API, see https://developer.github.com/v3/checks/runs.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": [ "created", "rerequested", "completed", "requested_action" ] }, "default": [ "created", "rerequested", "completed", "requested_action" ] } } }, "check_suite": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#check-suite-event-check_suite", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the check_suite event occurs. More than one activity type triggers this event. For information about the REST API, see https://developer.github.com/v3/checks/suites/.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": ["completed", "requested", "rerequested"] }, "default": ["completed", "requested", "rerequested"] } } }, "create": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#create-event-create", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime someone creates a branch or tag, which triggers the create event. For information about the REST API, see https://developer.github.com/v3/git/refs/#create-a-reference." }, "delete": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#delete-event-delete", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime someone deletes a branch or tag, which triggers the delete event. For information about the REST API, see https://developer.github.com/v3/git/refs/#delete-a-reference." }, "deployment": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#deployment-event-deployment", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime someone creates a deployment, which triggers the deployment event. Deployments created with a commit SHA may not have a Git ref. For information about the REST API, see https://developer.github.com/v3/repos/deployments/." }, "deployment_status": { "$comment": "https://docs.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime a third party provides a deployment status, which triggers the deployment_status event. Deployments created with a commit SHA may not have a Git ref. For information about the REST API, see https://developer.github.com/v3/repos/deployments/#create-a-deployment-status." }, "discussion": { "$comment": "https://docs.github.com/en/actions/reference/events-that-trigger-workflows#discussion", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the discussion event occurs. More than one activity type triggers this event. For information about the GraphQL API, see https://docs.github.com/en/graphql/guides/using-the-graphql-api-for-discussions", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": [ "created", "edited", "deleted", "transferred", "pinned", "unpinned", "labeled", "unlabeled", "locked", "unlocked", "category_changed", "answered", "unanswered" ] }, "default": [ "created", "edited", "deleted", "transferred", "pinned", "unpinned", "labeled", "unlabeled", "locked", "unlocked", "category_changed", "answered", "unanswered" ] } } }, "discussion_comment": { "$comment": "https://docs.github.com/en/actions/reference/events-that-trigger-workflows#discussion_comment", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the discussion_comment event occurs. More than one activity type triggers this event. For information about the GraphQL API, see https://docs.github.com/en/graphql/guides/using-the-graphql-api-for-discussions", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": ["created", "edited", "deleted"] }, "default": ["created", "edited", "deleted"] } } }, "fork": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#fork-event-fork", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime when someone forks a repository, which triggers the fork event. For information about the REST API, see https://developer.github.com/v3/repos/forks/#create-a-fork." }, "gollum": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#gollum-event-gollum", "$ref": "#/definitions/eventObject", "description": "Runs your workflow when someone creates or updates a Wiki page, which triggers the gollum event." }, "issue_comment": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#issue-comment-event-issue_comment", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the issue_comment event occurs. More than one activity type triggers this event. For information about the REST API, see https://developer.github.com/v3/issues/comments/.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": ["created", "edited", "deleted"] }, "default": ["created", "edited", "deleted"] } } }, "issues": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#issues-event-issues", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the issues event occurs. More than one activity type triggers this event. For information about the REST API, see https://developer.github.com/v3/issues.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": [ "opened", "edited", "deleted", "transferred", "pinned", "unpinned", "closed", "reopened", "assigned", "unassigned", "labeled", "unlabeled", "locked", "unlocked", "milestoned", "demilestoned" ] }, "default": [ "opened", "edited", "deleted", "transferred", "pinned", "unpinned", "closed", "reopened", "assigned", "unassigned", "labeled", "unlabeled", "locked", "unlocked", "milestoned", "demilestoned" ] } } }, "label": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#label-event-label", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the label event occurs. More than one activity type triggers this event. For information about the REST API, see https://developer.github.com/v3/issues/labels/.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": ["created", "edited", "deleted"] }, "default": ["created", "edited", "deleted"] } } }, "merge_group": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#merge_group", "$ref": "#/definitions/eventObject", "description": "Runs your workflow when a pull request is added to a merge queue, which adds the pull request to a merge group. For information about the merge queue, see https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request-with-a-merge-queue .", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": ["checks_requested"] }, "default": ["checks_requested"] } } }, "milestone": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#milestone-event-milestone", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the milestone event occurs. More than one activity type triggers this event. For information about the REST API, see https://developer.github.com/v3/issues/milestones/.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": ["created", "closed", "opened", "edited", "deleted"] }, "default": [ "created", "closed", "opened", "edited", "deleted" ] } } }, "page_build": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#page-build-event-page_build", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime someone pushes to a GitHub Pages-enabled branch, which triggers the page_build event. For information about the REST API, see https://developer.github.com/v3/repos/pages/." }, "project": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#project-event-project", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the project event occurs. More than one activity type triggers this event. For information about the REST API, see https://developer.github.com/v3/projects/.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": [ "created", "updated", "closed", "reopened", "edited", "deleted" ] }, "default": [ "created", "updated", "closed", "reopened", "edited", "deleted" ] } } }, "project_card": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#project-card-event-project_card", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the project_card event occurs. More than one activity type triggers this event. For information about the REST API, see https://developer.github.com/v3/projects/cards.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": [ "created", "moved", "converted", "edited", "deleted" ] }, "default": [ "created", "moved", "converted", "edited", "deleted" ] } } }, "project_column": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#project-column-event-project_column", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the project_column event occurs. More than one activity type triggers this event. For information about the REST API, see https://developer.github.com/v3/projects/columns.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": ["created", "updated", "moved", "deleted"] }, "default": ["created", "updated", "moved", "deleted"] } } }, "public": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#public-event-public", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime someone makes a private repository public, which triggers the public event. For information about the REST API, see https://developer.github.com/v3/repos/#edit." }, "pull_request": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#pull-request-event-pull_request", "$ref": "#/definitions/ref", "description": "Runs your workflow anytime the pull_request event occurs. More than one activity type triggers this event. For information about the REST API, see https://developer.github.com/v3/pulls.\nNote: Workflows do not run on private base repositories when you open a pull request from a forked repository.\nWhen you create a pull request from a forked repository to the base repository, GitHub sends the pull_request event to the base repository and no pull request events occur on the forked repository.\nWorkflows don't run on forked repositories by default. You must enable GitHub Actions in the Actions tab of the forked repository.\nThe permissions for the GITHUB_TOKEN in forked repositories is read-only. For more information about the GITHUB_TOKEN, see https://help.github.com/en/articles/virtual-environments-for-github-actions.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": [ "assigned", "unassigned", "labeled", "unlabeled", "opened", "edited", "closed", "reopened", "synchronize", "converted_to_draft", "ready_for_review", "locked", "unlocked", "milestoned", "demilestoned", "review_requested", "review_request_removed", "auto_merge_enabled", "auto_merge_disabled", "enqueued", "dequeued" ] }, "default": ["opened", "synchronize", "reopened"] } }, "patternProperties": { "^(branche|tag|path)s(-ignore)?$": { "type": "array" } }, "additionalProperties": false }, "pull_request_review": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#pull-request-review-event-pull_request_review", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the pull_request_review event occurs. More than one activity type triggers this event. For information about the REST API, see https://developer.github.com/v3/pulls/reviews.\nNote: Workflows do not run on private base repositories when you open a pull request from a forked repository.\nWhen you create a pull request from a forked repository to the base repository, GitHub sends the pull_request event to the base repository and no pull request events occur on the forked repository.\nWorkflows don't run on forked repositories by default. You must enable GitHub Actions in the Actions tab of the forked repository.\nThe permissions for the GITHUB_TOKEN in forked repositories is read-only. For more information about the GITHUB_TOKEN, see https://help.github.com/en/articles/virtual-environments-for-github-actions.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": ["submitted", "edited", "dismissed"] }, "default": ["submitted", "edited", "dismissed"] } } }, "pull_request_review_comment": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#pull-request-review-comment-event-pull_request_review_comment", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime a comment on a pull request's unified diff is modified, which triggers the pull_request_review_comment event. More than one activity type triggers this event. For information about the REST API, see https://developer.github.com/v3/pulls/comments.\nNote: Workflows do not run on private base repositories when you open a pull request from a forked repository.\nWhen you create a pull request from a forked repository to the base repository, GitHub sends the pull_request event to the base repository and no pull request events occur on the forked repository.\nWorkflows don't run on forked repositories by default. You must enable GitHub Actions in the Actions tab of the forked repository.\nThe permissions for the GITHUB_TOKEN in forked repositories is read-only. For more information about the GITHUB_TOKEN, see https://help.github.com/en/articles/virtual-environments-for-github-actions.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": ["created", "edited", "deleted"] }, "default": ["created", "edited", "deleted"] } } }, "pull_request_target": { "$comment": "https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target", "$ref": "#/definitions/ref", "description": "This event is similar to pull_request, except that it runs in the context of the base repository of the pull request, rather than in the merge commit. This means that you can more safely make your secrets available to the workflows triggered by the pull request, because only workflows defined in the commit on the base repository are run. For example, this event allows you to create workflows that label and comment on pull requests, based on the contents of the event payload.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": [ "assigned", "unassigned", "labeled", "unlabeled", "opened", "edited", "closed", "reopened", "synchronize", "converted_to_draft", "ready_for_review", "locked", "unlocked", "review_requested", "review_request_removed", "auto_merge_enabled", "auto_merge_disabled" ] }, "default": ["opened", "synchronize", "reopened"] } }, "patternProperties": { "^(branche|tag|path)s(-ignore)?$": {} }, "additionalProperties": false }, "push": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#push-event-push", "$ref": "#/definitions/ref", "description": "Runs your workflow when someone pushes to a repository branch, which triggers the push event.\nNote: The webhook payload available to GitHub Actions does not include the added, removed, and modified attributes in the commit object. You can retrieve the full commit object using the REST API. For more information, see https://developer.github.com/v3/repos/commits/#get-a-single-commit.", "patternProperties": { "^(branche|tag|path)s(-ignore)?$": { "items": { "type": "string" }, "type": "array" } }, "additionalProperties": false }, "registry_package": { "$comment": "https://help.github.com/en/actions/reference/events-that-trigger-workflows#registry-package-event-registry_package", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime a package is published or updated. For more information, see https://help.github.com/en/github/managing-packages-with-github-packages.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": ["published", "updated"] }, "default": ["published", "updated"] } } }, "release": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#release-event-release", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the release event occurs. More than one activity type triggers this event. For information about the REST API, see https://developer.github.com/v3/repos/releases/ in the GitHub Developer documentation.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": [ "published", "unpublished", "created", "edited", "deleted", "prereleased", "released" ] }, "default": [ "published", "unpublished", "created", "edited", "deleted", "prereleased", "released" ] } } }, "status": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#status-event-status", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the status of a Git commit changes, which triggers the status event. For information about the REST API, see https://developer.github.com/v3/repos/statuses/." }, "watch": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#watch-event-watch", "$ref": "#/definitions/eventObject", "description": "Runs your workflow anytime the watch event occurs. More than one activity type triggers this event. For information about the REST API, see https://developer.github.com/v3/activity/starring/." }, "workflow_call": { "$comment": "https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#workflow_call", "description": "Allows workflows to be reused by other workflows.", "properties": { "inputs": { "$comment": "https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onworkflow_callinputs", "description": "When using the workflow_call keyword, you can optionally specify inputs that are passed to the called workflow from the caller workflow.", "type": "object", "patternProperties": { "^[_a-zA-Z][a-zA-Z0-9_-]*$": { "$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#inputsinput_id", "description": "A string identifier to associate with the input. The value of is a map of the input's metadata. The must be a unique identifier within the inputs object. The must start with a letter or _ and contain only alphanumeric characters, -, or _.", "type": "object", "properties": { "description": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputsinput_iddescription", "description": "A string description of the input parameter.", "type": "string" }, "required": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputsinput_idrequired", "description": "A boolean to indicate whether the action requires the input parameter. Set to true when the parameter is required.", "type": "boolean" }, "type": { "$comment": "https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#onworkflow_callinput_idtype", "description": "Required if input is defined for the on.workflow_call keyword. The value of this parameter is a string specifying the data type of the input. This must be one of: boolean, number, or string.", "type": "string", "enum": ["boolean", "number", "string"] }, "default": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputsinput_iddefault", "description": "The default value is used when an input parameter isn't specified in a workflow file.", "type": ["boolean", "number", "string"] } }, "required": ["type"], "additionalProperties": false } }, "additionalProperties": false }, "secrets": { "$comment": "https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#onworkflow_callsecrets", "description": "A map of the secrets that can be used in the called workflow. Within the called workflow, you can use the secrets context to refer to a secret.", "patternProperties": { "^[_a-zA-Z][a-zA-Z0-9_-]*$": { "$comment": "https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#onworkflow_callsecretssecret_id", "description": "A string identifier to associate with the secret.", "properties": { "description": { "description": "A string description of the secret parameter.", "type": "string" }, "required": { "$comment": "https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#onworkflow_callsecretssecret_idrequired", "description": "A boolean specifying whether the secret must be supplied.", "type": "boolean" } }, "additionalProperties": false } }, "additionalProperties": false } } }, "workflow_dispatch": { "$comment": "https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/", "description": "You can now create workflows that are manually triggered with the new workflow_dispatch event. You will then see a 'Run workflow' button on the Actions tab, enabling you to easily trigger a run.", "properties": { "inputs": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputs", "description": "Input parameters allow you to specify data that the action expects to use during runtime. GitHub stores input parameters as environment variables. Input ids with uppercase letters are converted to lowercase during runtime. We recommended using lowercase input ids.", "type": "object", "patternProperties": { "^[_a-zA-Z][a-zA-Z0-9_-]*$": { "$ref": "#/definitions/workflowDispatchInput" } }, "additionalProperties": false } }, "additionalProperties": false }, "workflow_run": { "$comment": "https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_run", "$ref": "#/definitions/eventObject", "description": "This event occurs when a workflow run is requested or completed, and allows you to execute a workflow based on the finished result of another workflow. For example, if your pull_request workflow generates build artifacts, you can create a new workflow that uses workflow_run to analyze the results and add a comment to the original pull request.", "properties": { "types": { "$ref": "#/definitions/types", "items": { "type": "string", "enum": ["requested", "completed", "in_progress"] }, "default": ["requested", "completed"] }, "workflows": { "type": "array", "items": { "type": "string" }, "minItems": 1 } }, "patternProperties": { "^branches(-ignore)?$": {} } }, "repository_dispatch": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#external-events-repository_dispatch", "$ref": "#/definitions/eventObject", "description": "You can use the GitHub API to trigger a webhook event called repository_dispatch when you want to trigger a workflow for activity that happens outside of GitHub. For more information, see https://developer.github.com/v3/repos/#create-a-repository-dispatch-event.\nTo trigger the custom repository_dispatch webhook event, you must send a POST request to a GitHub API endpoint and provide an event_type name to describe the activity type. To trigger a workflow run, you must also configure your workflow to use the repository_dispatch event." }, "schedule": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#scheduled-events-schedule", "description": "You can schedule a workflow to run at specific UTC times using POSIX cron syntax (https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07). Scheduled workflows run on the latest commit on the default or base branch. The shortest interval you can run scheduled workflows is once every 5 minutes.\nNote: GitHub Actions does not support the non-standard syntax @yearly, @monthly, @weekly, @daily, @hourly, and @reboot.\nYou can use crontab guru (https://crontab.guru/). to help generate your cron syntax and confirm what time it will run. To help you get started, there is also a list of crontab guru examples (https://crontab.guru/examples.html).", "type": "array", "items": { "type": "object", "properties": { "cron": { "type": "string" } }, "additionalProperties": false }, "minItems": 1 } }, "additionalProperties": false } ] }, "env": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#env", "$ref": "#/definitions/env", "description": "A map of environment variables that are available to all jobs and steps in the workflow." }, "defaults": { "$comment": "https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#defaults", "$ref": "#/definitions/defaults", "description": "A map of default settings that will apply to all jobs in the workflow." }, "concurrency": { "$comment": "https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency", "description": "Concurrency ensures that only a single job or workflow using the same concurrency group will run at a time. A concurrency group can be any string or expression. The expression can use any context except for the secrets context. \nYou can also specify concurrency at the workflow level. \nWhen a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending. Any previously pending job or workflow in the concurrency group will be canceled. To also cancel any currently running job or workflow in the same concurrency group, specify cancel-in-progress: true.", "oneOf": [ { "type": "string" }, { "$ref": "#/definitions/concurrency" } ] }, "jobs": { "$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobs", "description": "A workflow run is made up of one or more jobs. Jobs run in parallel by default. To run jobs sequentially, you can define dependencies on other jobs using the jobs..needs keyword.\nEach job runs in a fresh instance of the virtual environment specified by runs-on.\nYou can run an unlimited number of jobs as long as you are within the workflow usage limits. For more information, see https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#usage-limits.", "type": "object", "patternProperties": { "^[_a-zA-Z][a-zA-Z0-9_-]*$": { "oneOf": [ { "$ref": "#/definitions/normalJob" }, { "$ref": "#/definitions/reusableWorkflowCallJob" } ] } }, "minProperties": 1, "additionalProperties": false }, "run-name": { "$comment": "https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#run-name", "description": "The name for workflow runs generated from the workflow. GitHub displays the workflow run name in the list of workflow runs on your repository's 'Actions' tab.", "type": "string" }, "permissions": { "$ref": "#/definitions/permissions" } }, "required": ["on", "jobs"], "type": "object" } ``` The content has been capped at 50000 tokens, and files over NaN bytes have been omitted. The user could consider applying other filters to refine the result. The better and more specific the context, the better the LLM can follow instructions. If the context seems verbose, the user can refine the filter using uithub. Thank you for using https://uithub.com - Perfect LLM context for any GitHub repo.