Skip to content

Commit

Permalink
workflows - run codeql & adr after dotnet workflow on main
Browse files Browse the repository at this point in the history
otherwise the test results workflow may attach the report to the wrong workflow
see dorny/test-reporter#67
  • Loading branch information
wicksipedia committed Nov 21, 2023
1 parent 4f40128 commit 8852151
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: "Code Scanning - Action"

on:
push:
branches: [main]
workflow_run:
workflows: ['.NET'] # runs after .NET workflow
types:
- completed
branches:
- 'main'

jobs:
CodeQL-Build:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/publish-log4brains.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Publish Log4brains
on:
push:
workflow_run:
workflows: ['.NET'] # runs after .NET workflow
types:
- completed
branches:
- main
- 'main'
jobs:
build-and-publish:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8852151

Please sign in to comment.