Skip to content

Commit

Permalink
chore: Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
bgins committed Mar 5, 2024
1 parent 7b4025b commit eaab37e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: 📄 Schemas

on:
push:
branches: [main, "bgins/run-schemas-*"]
# branches: [main, "release-plz-*"]
branches: [main, "release-plz-*"]
# branches: [main, "**"]

permissions:
Expand Down Expand Up @@ -67,7 +66,6 @@ jobs:
run: echo modified=$(if [[ $(git diff homestar-runtime/schemas/) ]]; then echo "true"; else echo "false"; fi) >> $GITHUB_OUTPUT

- name: Push changes to main
# if: github.ref_name == 'main' && (steps.git-check-schemas.outputs.modified == 'true' && (needs.changes.outputs.rust == 'true' || needs.changes.outputs.manifest == 'true'))
if: >-
${{ github.ref_name == 'main' &&
(steps.git-check-schemas.outputs.modified == 'true' &&
Expand All @@ -82,9 +80,8 @@ jobs:
git push
- name: Push changes to release-plz branch
# if: startsWith(github.ref_name, 'bgins/run-schemas') && (steps.git-check-schemas.outputs.modified == 'true' && needs.changes.outputs.manifest == 'true')
if: >-
${{ startsWith(github.ref_name, 'bgins/run-schemas') &&
${{ startsWith(github.ref_name, 'release-plz') &&
(steps.git-check-schemas.outputs.modified == 'true' && needs.changes.outputs.manifest == 'true')
}}
run: |
Expand Down
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/ipvm-wg/homestar"
rust-version = "1.75.0"
version = "0.2.1"
version = "0.2.0"

[workspace.dependencies]
anyhow = { version = "1.0", features = ["backtrace"] }
Expand Down
2 changes: 1 addition & 1 deletion homestar-invocation/src/task/instruction/nonce.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ impl JsonSchema for Nonce {
instance_type: Some(SingleOrVec::Single(InstanceType::String.into())),
metadata: Some(Box::new(Metadata {
description: Some(
"A 12-byte or 16-byte nonc. Use empty string for no nonce.".to_string(),
"A 12-byte or 16-byte nonce. Use empty string for no nonce.".to_string(),
),
..Default::default()
})),
Expand Down

0 comments on commit eaab37e

Please sign in to comment.