Skip to content

Commit 98db362

Browse files
committed
fix: correct mismatched step ids in post dependabot
1 parent 8440927 commit 98db362

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/post-dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
# This only sets the conventional commit prefix. This workflow can't reliably determine
6767
# what the breaking change is though. If a BREAKING CHANGE message is required then
6868
# this PR check will fail and the commit will be amended with stafftools
69-
if [[ "${{ steps.dependabot-metadata.outputs.update-type }}" == "version-update:semver-major" ]]; then
69+
if [[ "${{ steps.metadata.outputs.update-type }}" == "version-update:semver-major" ]]; then
7070
prefix='feat!'
7171
else
7272
prefix='chore!'
@@ -90,7 +90,7 @@ jobs:
9090
# and attempt to commit and push again. This is helpful because we will have a commit
9191
# with the correct prefix that we can then --amend with @npmcli/stafftools later.
9292
- name: Push All Changes Except Workflows
93-
if: steps.apply.outputs.changes && steps.push-all.outcome == 'failure'
93+
if: steps.apply.outputs.changes && steps.push.outcome == 'failure'
9494
env:
9595
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9696
run: |

lib/content/post-dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
# This only sets the conventional commit prefix. This workflow can't reliably determine
4646
# what the breaking change is though. If a BREAKING CHANGE message is required then
4747
# this PR check will fail and the commit will be amended with stafftools
48-
if [[ "$\{{ steps.dependabot-metadata.outputs.update-type }}" == "version-update:semver-major" ]]; then
48+
if [[ "$\{{ steps.metadata.outputs.update-type }}" == "version-update:semver-major" ]]; then
4949
prefix='feat!'
5050
else
5151
prefix='chore!'
@@ -69,7 +69,7 @@ jobs:
6969
# and attempt to commit and push again. This is helpful because we will have a commit
7070
# with the correct prefix that we can then --amend with @npmcli/stafftools later.
7171
- name: Push All Changes Except Workflows
72-
if: steps.apply.outputs.changes && steps.push-all.outcome == 'failure'
72+
if: steps.apply.outputs.changes && steps.push.outcome == 'failure'
7373
env:
7474
GITHUB_TOKEN: $\{{ secrets.GITHUB_TOKEN }}
7575
run: |

tap-snapshots/test/apply/source-snapshots.js.test.cjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ jobs:
687687
# This only sets the conventional commit prefix. This workflow can't reliably determine
688688
# what the breaking change is though. If a BREAKING CHANGE message is required then
689689
# this PR check will fail and the commit will be amended with stafftools
690-
if [[ "\${{ steps.dependabot-metadata.outputs.update-type }}" == "version-update:semver-major" ]]; then
690+
if [[ "\${{ steps.metadata.outputs.update-type }}" == "version-update:semver-major" ]]; then
691691
prefix='feat!'
692692
else
693693
prefix='chore!'
@@ -711,7 +711,7 @@ jobs:
711711
# and attempt to commit and push again. This is helpful because we will have a commit
712712
# with the correct prefix that we can then --amend with @npmcli/stafftools later.
713713
- name: Push All Changes Except Workflows
714-
if: steps.apply.outputs.changes && steps.push-all.outcome == 'failure'
714+
if: steps.apply.outputs.changes && steps.push.outcome == 'failure'
715715
env:
716716
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
717717
run: |
@@ -2288,7 +2288,7 @@ jobs:
22882288
# This only sets the conventional commit prefix. This workflow can't reliably determine
22892289
# what the breaking change is though. If a BREAKING CHANGE message is required then
22902290
# this PR check will fail and the commit will be amended with stafftools
2291-
if [[ "\${{ steps.dependabot-metadata.outputs.update-type }}" == "version-update:semver-major" ]]; then
2291+
if [[ "\${{ steps.metadata.outputs.update-type }}" == "version-update:semver-major" ]]; then
22922292
prefix='feat!'
22932293
else
22942294
prefix='chore!'
@@ -2312,7 +2312,7 @@ jobs:
23122312
# and attempt to commit and push again. This is helpful because we will have a commit
23132313
# with the correct prefix that we can then --amend with @npmcli/stafftools later.
23142314
- name: Push All Changes Except Workflows
2315-
if: steps.apply.outputs.changes && steps.push-all.outcome == 'failure'
2315+
if: steps.apply.outputs.changes && steps.push.outcome == 'failure'
23162316
env:
23172317
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
23182318
run: |
@@ -3684,7 +3684,7 @@ jobs:
36843684
# This only sets the conventional commit prefix. This workflow can't reliably determine
36853685
# what the breaking change is though. If a BREAKING CHANGE message is required then
36863686
# this PR check will fail and the commit will be amended with stafftools
3687-
if [[ "\${{ steps.dependabot-metadata.outputs.update-type }}" == "version-update:semver-major" ]]; then
3687+
if [[ "\${{ steps.metadata.outputs.update-type }}" == "version-update:semver-major" ]]; then
36883688
prefix='feat!'
36893689
else
36903690
prefix='chore!'
@@ -3708,7 +3708,7 @@ jobs:
37083708
# and attempt to commit and push again. This is helpful because we will have a commit
37093709
# with the correct prefix that we can then --amend with @npmcli/stafftools later.
37103710
- name: Push All Changes Except Workflows
3711-
if: steps.apply.outputs.changes && steps.push-all.outcome == 'failure'
3711+
if: steps.apply.outputs.changes && steps.push.outcome == 'failure'
37123712
env:
37133713
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
37143714
run: |

0 commit comments

Comments
 (0)