Skip to content

Commit

Permalink
Add pull_request_target
Browse files Browse the repository at this point in the history
  • Loading branch information
herbertroth committed Dec 14, 2023
1 parent f9c7142 commit 573fd30
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/qodana.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
name: Qodana
on:
schedule:
- cron: '0 01 * * *' # Run once per day
workflow_dispatch:
push:
pull_request_target:
types: [opened, synchronize, reopened]
branches:
- '*'
- '**'
paths:
- '**.php'
- '**.yml'
- '**.yaml'
branches:
- '*'
- '**'
pull_request:
types: [opened, synchronize, reopened]
push:
paths:
- '**.php'
- '**.yml'
- '**.yaml'
branches:
- '*'
- '**'

jobs:
qodana:
Expand Down Expand Up @@ -51,4 +52,4 @@ jobs:
with:
args: --baseline,qodana.sarif.json
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

0 comments on commit 573fd30

Please sign in to comment.