diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 05a83ad..0a44bfc 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,9 +11,6 @@ on: description: "The filename of the appsettings file" type: string - pull_request: - branches: [ main ] - jobs: shifty-build: name: Build webapp diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml new file mode 100644 index 0000000..db132ca --- /dev/null +++ b/.github/workflows/pullrequest.yml @@ -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" diff --git a/.github/workflows/shifty-build.yml b/.github/workflows/shifty-build.yml index 0720249..e9b8957 100644 --- a/.github/workflows/shifty-build.yml +++ b/.github/workflows/shifty-build.yml @@ -12,7 +12,6 @@ on: settings_file: description: "The filename of the appsettings file" type: string - default: "appsettings.json" jobs: build-test: