Skip to content

Commit

Permalink
Add pull request workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
duckth committed Oct 26, 2023
1 parent 8c8ae83 commit ed8c1b2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ on:
description: "The filename of the appsettings file"
type: string

pull_request:
branches: [ main ]

jobs:
shifty-build:
name: Build webapp
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Pull Request

on:
pull_request:
branches: [ main ]

jobs:
build:
uses: ./.github/workflows/build.yml
secrets: inherit
with:
settings_file: "appsettings.json"
1 change: 0 additions & 1 deletion .github/workflows/shifty-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:
settings_file:
description: "The filename of the appsettings file"
type: string
default: "appsettings.json"

jobs:
build-test:
Expand Down

0 comments on commit ed8c1b2

Please sign in to comment.