Skip to content

Commit 1dfa886

Browse files
authored
Update README.md
1 parent 3949f2f commit 1dfa886

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ on:
2020
jobs:
2121
handle_codeql_scan:
2222
runs-on: ubuntu-latest
23-
if: ${{ github.event.workflow_run.conclusion == 'success' && contains(github.event.workflow_run.head_branch,'refs/pull') }} # Check if workflow is a Pull Request Event and not a Push event
23+
# && contains(github.event.workflow_run.head_branch,'refs/pull')
24+
if: ${{ github.event.workflow_run.conclusion == 'success' && (contains(github.event.workflow_run.head_branch, 'refs/pull') || github.event.workflow_run.event == 'pull_request') }}
2425
permissions:
2526
pull-requests: write
2627
security-events: write
@@ -29,8 +30,11 @@ jobs:
2930
issues: write
3031
steps:
3132
- name: Checkout repository
32-
uses: actions/checkout@v3
33-
- uses: mobb-dev/codeql-mobb-fixer-action@v1.1
33+
uses: actions/checkout@v4
34+
- name: Dump github.event
35+
run: cat $GITHUB_EVENT_PATH
36+
37+
- uses: mobb-dev/codeql-mobb-fixer-action@support-codeql-advanced
3438
with:
3539
mobb-api-token: ${{ secrets.MOBB_API_TOKEN }}
3640
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)