Skip to content

Commit

Permalink
Trigger workflow on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Trebor-Huang authored Mar 5, 2023
1 parent ef65c47 commit dfe60e7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

1 comment on commit dfe60e7

@ice1000
Copy link
Contributor

@ice1000 ice1000 commented on dfe60e7 Mar 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这样会导致 PR 里的 PDF 被传到 release

Please sign in to comment.