From 91898b37a744184b77ac883cd1daf4870da299f5 Mon Sep 17 00:00:00 2001 From: Brian Ginsburg Date: Thu, 8 Feb 2024 14:19:58 -0800 Subject: [PATCH] chore: More schema action tinkering part three --- .github/workflows/schemas.yml | 21 +++++++++------------ Cargo.lock | 2 +- homestar-schemas/Cargo.toml | 2 +- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/.github/workflows/schemas.yml b/.github/workflows/schemas.yml index 7e5dcbc9..45afba93 100644 --- a/.github/workflows/schemas.yml +++ b/.github/workflows/schemas.yml @@ -2,11 +2,10 @@ name: 📄 Schemas on: push: - # branches: [main, "**"] - branches: [main] + branches: [main, "**"] - pull_request: - branches: ["**"] + # pull_request: + # branches: ["**"] permissions: contents: write @@ -27,13 +26,10 @@ jobs: with: filters: | rust: - - '**/Cargo.*' - - '**/src/**' - - '**/tests/**' - - '**/build.rs' - - '**/migrations/**' - - '**/fixtures/**' - - '**/wit/**' + - 'homestar-invocation/src/**' + - 'homestar-runtime/src/**' + - 'homestar-schemas/src/**' + - 'homestar-workflow/src/**' schemas: needs: changes @@ -91,4 +87,5 @@ jobs: git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git git commit -am "chore(schemas): update OpenRPC API doc and JSON schemas" - git push --force-with-lease origin HEAD:refs/heads/${{ github.ref }} + # git push --force-with-lease origin HEAD:refs/heads/${{ github.ref }} + git push diff --git a/Cargo.lock b/Cargo.lock index 949a16bb..e0bd1e5a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2639,7 +2639,7 @@ dependencies = [ [[package]] name = "homestar-schemas" -version = "0.1.1" +version = "0.1.0" dependencies = [ "homestar-invocation", "homestar-runtime", diff --git a/homestar-schemas/Cargo.toml b/homestar-schemas/Cargo.toml index bfa6a3d8..1f237496 100644 --- a/homestar-schemas/Cargo.toml +++ b/homestar-schemas/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "homestar-schemas" publish = false -version = { workspace = true } +version = "0.1.0" edition = { workspace = true } rust-version = { workspace = true }