Skip to content

Commit

Permalink
Merge pull request #2318 from demergent-labs/run_check_check_not_on_d…
Browse files Browse the repository at this point in the history
…raft

don't run on drafts
  • Loading branch information
lastmjs authored Dec 12, 2024
2 parents 54cb7ce + a8f65de commit d7b9d8a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
- [ ] Breaking changes enumerated in [the release issue](https://github.com/demergent-labs/azle/issues/2053)
- [ ] New documentation enumerated in [the release issue](https://github.com/demergent-labs/azle/issues/2053)
- [ ] Code has been declaratized
- [ ] Error handling beautiful (no unwraps or expects etc)
- [ ] Code tested thoroughly
- [ ] Breaking changes enumerated in [the release issue](https://github.com/demergent-labs/azle/issues/2053)
- [ ] New documentation enumerated in [the release issue](https://github.com/demergent-labs/azle/issues/2053)
- [ ] Code has been declaratized
- [ ] Error handling beautiful (no unwraps or expects etc)
- [ ] Code tested thoroughly
- [ ] All new functions have JSDoc/Rustdoc comments
1 change: 1 addition & 0 deletions .github/workflows/pr_tasks_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
pr_tasks_check:
name: All PR checkboxes marked completed
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v4

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function OptArb(
): fc.Arbitrary<CandidValueAndMeta<Opt>> {
const definitionContext = {
...context,
constraints: { depthLevel: DEFAULT_DEFINITION_MAX_DEPTH }
constraints: { depthLevel: DEFAULT_DEFINITION_MAX_DEPTH - 1 }
};
return CandidValueAndMetaArbGenerator(
context,
Expand Down

0 comments on commit d7b9d8a

Please sign in to comment.