Skip to content

Commit

Permalink
Update generate_almanaque_pdf.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomarcosth9 authored Jan 7, 2024
1 parent dd91877 commit cb828e1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/generate_almanaque_pdf.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Generate Almanaque PDF

on:
pull_request:
branches:
- master
push:
branches:
- master
pull_request:
types:
- closed

jobs:
generate_almanaque_pdf:
if: github.event.pull_request.merged == true
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
runs-on: ubuntu-latest
steps:
- name: Checkout repo
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Set up Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "pdfer"
git config --global user.name "Pdfer"
- name: Commit and push changes
run: |
git add .
Expand Down

0 comments on commit cb828e1

Please sign in to comment.