diff --git a/.gitea/workflows/build-gateway.yml b/.gitea/workflows/build-gateway.yml index e104d59..4f8d723 100644 --- a/.gitea/workflows/build-gateway.yml +++ b/.gitea/workflows/build-gateway.yml @@ -7,6 +7,11 @@ on: - master paths: - 'FictionArchive.API/**' + pull_request: + branches: + - master + paths: + - 'FictionArchive.API/**' env: REGISTRY: ${{ gitea.server_url }} diff --git a/.gitea/workflows/build-subgraphs.yml b/.gitea/workflows/build-subgraphs.yml index c7878ff..108a8e7 100644 --- a/.gitea/workflows/build-subgraphs.yml +++ b/.gitea/workflows/build-subgraphs.yml @@ -1,7 +1,6 @@ name: Build Subgraphs on: - workflow_dispatch: push: branches: - master @@ -9,6 +8,13 @@ on: - 'FictionArchive.Service.*/**' - 'FictionArchive.Common/**' - 'FictionArchive.Service.Shared/**' + pull_request: + branches: + - master + paths: + - 'FictionArchive.Service.*/**' + - 'FictionArchive.Common/**' + - 'FictionArchive.Service.Shared/**' jobs: build-subgraphs: diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index ca92f7d..6578ff5 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -4,6 +4,9 @@ on: push: tags: - 'v*.*.*' + pull_request: + branches: + - master env: REGISTRY: ${{ gitea.server_url }}