Skip to content

Commit 8ffc98c

Browse files
JonasAlaifkatyo
authored andcommitted
Update readme with suggested action for PRs
1 parent 3b2f17b commit 8ffc98c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ steps:
8383
dry-run: true
8484
```
8585

86-
Preventing failing on pull requests by disabling repository consistency check:
86+
Do all checks in both push and pull requests, but only publish on push:
8787

8888
```yaml
8989
steps:
@@ -94,8 +94,7 @@ steps:
9494
override: true
9595
- uses: katyo/publish-crates@v2
9696
with:
97-
dry-run: true
98-
check-repo: ${{ github.event_name == 'push' }}
97+
dry-run: ${{ github.event_name != 'push' }}
9998
```
10099

101100
Prevent failing when there is no new version to publish:

0 commit comments

Comments
 (0)