Skip to content

Commit

Permalink
Enable pull request in CI event
Browse files Browse the repository at this point in the history
  • Loading branch information
rffontenelle authored Jan 9, 2024
1 parent ea64407 commit 5469cc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: update-translations

on:
pull_request:
schedule:
- cron: "0 0 * * *" #runs at 00:00 UTC everyday

Expand Down Expand Up @@ -62,6 +63,7 @@ jobs:
git add sphinx
git commit -m "[skip ci] by GHA https://github.com/${{ github.repository }}/actions/runs/${{ github.run_number }}"
- name: GitHub Push
if: github.event_name != 'pull_request'
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 5469cc7

Please sign in to comment.