From dfe60e7a8635e6dbfe7cec71c51d3119814d348a Mon Sep 17 00:00:00 2001 From: Trebor Huang <41145779+Trebor-Huang@users.noreply.github.com> Date: Sun, 5 Mar 2023 14:24:13 +0800 Subject: [PATCH] Trigger workflow on pull requests --- .github/workflows/main.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6f49adc..1ab8934 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,14 +1,10 @@ -# This is a basic workflow to help you get started with Actions - name: Build document # Controls when the workflow will run on: - # Triggers the workflow on push or pull request events but only for the main branch push: branches: [ main ] - - # Allows you to run this workflow manually from the Actions tab + pull_request: workflow_dispatch: jobs: