Skip to content

Commit

Permalink
Merge branch 'main' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty authored Apr 22, 2024
2 parents 93da214 + 5b4ae6b commit b59ac2e
Show file tree
Hide file tree
Showing 12 changed files with 81 additions and 70 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ jobs:
run:
echo "run=${{ steps.changes.outputs.nightly == 'true' ||
contains(github.event.pull_request.labels.*.name, 'pr-nightly') ||
github.event.schedule }}" >>"$GITHUB_OUTPUT"
github.event_name == 'schedule' }}" >>"$GITHUB_OUTPUT"

- id: nightly-schedule
run:
echo "run=${{ github.event.schedule == 'true' }}" >>"$GITHUB_OUTPUT"
echo "run=${{ github.event_name == 'schedule' }}" >>"$GITHUB_OUTPUT"

- id: main
run:
Expand Down Expand Up @@ -689,9 +689,10 @@ jobs:
needs:
- check-ok-to-merge
if:
# We care that it's on a schedule as well as it running on nightly — we
# We check that it's on a schedule as well as it running on nightly — we
# don't want to trigger just on a `pr-nightly` label
always() && github.event.schedule && contains(needs.*.result, 'failure')
always() && (github.event_name == 'schedule') && contains(needs.*.result,
'failure')
permissions:
contents: read
issues: write
Expand Down
Loading

0 comments on commit b59ac2e

Please sign in to comment.