Skip to content

Commit d94933c

Browse files
authored
CI: Disable pull_request from CI condition
1 parent 68f0974 commit d94933c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/update.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ jobs:
5858
run: |
5959
powrap --modified
6060
- name: Commit and push changes
61-
if: |
62-
github.repository == 'python/python-docs-pt-br' &&
63-
! github.event_name == 'pull_request'
61+
if: github.repository == 'python/python-docs-pt-br'
6462
run: |
6563
git config user.name github-actions
6664
git config user.email github-actions@github.com
@@ -119,8 +117,7 @@ jobs:
119117
powrap --modified -C ${{ matrix.branch }}
120118
- name: Commit and push changes
121119
if: |
122-
github.repository == 'python/python-docs-pt-br' &&
123-
! github.event_name == 'pull_request'
120+
github.repository == 'python/python-docs-pt-br'
124121
run: |
125122
cd ${{ matrix.branch }}
126123
git config user.name github-actions

0 commit comments

Comments
 (0)