Skip to content

Commit

Permalink
Workflows - run CodeQL and ADR report publishing after main workflow (#…
Browse files Browse the repository at this point in the history
…199)

* CodeQL - Remove pull_request trigger

* Dependabot - check for .net and GH action updates weekly

* workflows - run codeql & adr after dotnet workflow on main
otherwise the test results workflow may attach the report to the wrong workflow
see dorny/test-reporter#67
  • Loading branch information
wicksipedia authored Nov 21, 2023
1 parent 7838acd commit 5f4140a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2

updates:
- package-ecosystem: "dotnet"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
11 changes: 6 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: "Code Scanning - Action"

on:
push:
branches: [main]
pull_request:
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 5f4140a

Please sign in to comment.