Skip to content

Commit 98de0b6

Browse files
author
conwayt
committed
Tweak conditions for pushing tags
1 parent d981c2d commit 98de0b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tag_when_downstream_or_deps_change.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ jobs:
4949
git push origin main --follow-tags
5050
5151
- name: Bump version and push tag if needed
52-
if: steps.check_downstream.outputs.changed == 'true' && !steps.check_dependabot.outputs.merged == 'true'
52+
if: steps.check_downstream.outputs.changed == 'true' && steps.check_dependabot.outputs.merged == 'false'
5353
run: |
5454
git config user.name "github-actions[bot]"
5555
git config user.email "github-actions[bot]@users.noreply.github.com"
5656
npm version patch -m "chore: bump version to %s because downstream changed [skip ci]"
5757
git push origin main --follow-tags
5858
5959
- name: Bump version and push tag if needed
60-
if: steps.check_dependabot.outputs.merged == 'true' && !steps.check_downstream.outputs.changed == 'true'
60+
if: steps.check_dependabot.outputs.merged == 'true' && steps.check_downstream.outputs.changed == 'false'
6161
run: |
6262
git config user.name "github-actions[bot]"
6363
git config user.email "github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)