Skip to content

Commit

Permalink
Update draft-pdf.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bagustris authored Nov 12, 2024
1 parent f2e4c56 commit 65fa36a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/draft-pdf.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
name: Draft PDF
# only trigger on pull request closed events
on:
push:
branches: main
pull_request:
types: [ closed ]

jobs:
paper:
if: github.event.pull_request.merged == true
if: github.event_name == 'push' || github.event.pull_request.merged == true
runs-on: ubuntu-latest
name: Paper Draft
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 65fa36a

Please sign in to comment.