diff --git a/.github/workflows/schemas.yml b/.github/workflows/schemas.yml index 8f3e48dd..99038013 100644 --- a/.github/workflows/schemas.yml +++ b/.github/workflows/schemas.yml @@ -2,7 +2,8 @@ name: 📄 Schemas on: push: - branches: [main, "release-plz-*"] + branches: [main, "bgins/run-schemas-*"] + # branches: [main, "release-plz-*"] # branches: [main, "**"] permissions: @@ -69,8 +70,14 @@ jobs: run: echo modified=$(if [[ $(git diff Cargo.toml) ]]; then echo "true"; else echo "false"; fi) >> $GITHUB_OUTPUT - name: Push changes - if: ${{ steps.git-check-schemas.outputs.modified == 'true' || steps.git-check-manifest.outputs.modified == 'true' }} + # if: ${{ steps.git-check-schemas.outputs.modified == 'true' || steps.git-check-manifest.outputs.modified == 'true' }} + if: | + ${{ (github.ref_name == 'main' && (steps.git-check-schemas.outputs.modified == 'true' || steps.git-check-manifest.outputs.modified == 'true')) || + (github.ref_name == 'bgins/run-schemas-*' && steps.git-check-manifest.outputs.modified == 'true') + }} run: | + echo ${{ github.ref_name == 'bgins/run-schemas-*' }} + echo ${{ steps.git-check-manifest.outputs.modified }} git config user.name "${GITHUB_ACTOR}" 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 diff --git a/homestar-invocation/src/task/instruction/nonce.rs b/homestar-invocation/src/task/instruction/nonce.rs index a821a111..3b7fcf3d 100644 --- a/homestar-invocation/src/task/instruction/nonce.rs +++ b/homestar-invocation/src/task/instruction/nonce.rs @@ -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 nonce. Use empty string for no nonce.".to_string(), + "A 12-byte or 16-byte nonc. Use empty string for no nonce.".to_string(), ), ..Default::default() })),