Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,20 @@ on:
schedule:
# Run every Monday at 12 AM UTC
- cron: '0 0 * * 1'
workflow_dispatch: # Allow manual trigger
workflow_dispatch:
inputs:
skip_coverage_annotation:
description: 'Skip coverage annotation'
required: false
default: true
type: boolean

permissions:
contents: read
checks: write

jobs:
test:
uses: ./.github/workflows/test.yml
with:
skip_coverage_annotation: true
skip_coverage_annotation: ${{ github.event_name == 'schedule' || inputs.skip_coverage_annotation }}
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
default: false
type: boolean

permissions:
contents: read
checks: write

jobs:
tests:
name: Tests (PHP ${{ matrix.php }})
Expand Down