Skip to content

Commit

Permalink
run on both PR and push but without duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Aug 21, 2024
1 parent 8cc2ae8 commit 949dccb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: Test
on:
pull_request:
push:
schedule:
- cron: '0 0 */7 * *'

env:
FORCE_COLOR: 1

jobs:
build:
test:
runs-on: ${{ matrix.os }}
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 949dccb

Please sign in to comment.