Skip to content

Commit

Permalink
chore: trigger on pr
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma11hewThomas committed May 29, 2024
1 parent a4baadf commit 4d2dbb5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ name: Test summary example
on:
push:
branches:
- main
- '**'
pull_request:
branches:
- '**'
schedule:
- cron: '0 2 * * *'
- cron: '0 2 * * *'

jobs:
testing:
runs-on: ubuntu-latest
if: github.event_name == 'schedule' && github.ref == 'refs/heads/main' || github.event_name != 'schedule'
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -17,4 +22,5 @@ jobs:
- name: build
run: npx tsc
- name: Run index.js
run: node dist/index.js ctrf-report.json
run: node dist/index.js ctrf-report.json
if: always()

0 comments on commit 4d2dbb5

Please sign in to comment.