Skip to content

Commit a27e007

Browse files
committed
Run the workflow for PRs but don't push the commit
1 parent 7837be1 commit a27e007

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/update.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
- run: git add .
2222
- run: git commit -m 'Update progress values'
2323
- uses: ad-m/github-push-action@master
24-
if: github.event_name != 'pull_request'
24+
if: |
25+
github.repository_owner == 'm-aciek'
26+
&& github.event_name != 'pull_request'
2527
with:
2628
github_token: ${{ secrets.GITHUB_TOKEN }}
2729
branch: ${{ github.ref }}

0 commit comments

Comments
 (0)