@@ -179,14 +179,14 @@ jobs:
179
179
if: ${{ github.actor == 'dependabot[bot]' }}
180
180
steps:
181
181
- name: Dependabot metadata
182
- id: metadata
182
+ id: dependabot- metadata
183
183
uses: dependabot/[email protected]
184
184
with:
185
185
github-token: "${{ secrets.GITHUB_TOKEN }}"
186
186
# The following properties are now available:
187
- # - steps.metadata.outputs.dependency-names
188
- # - steps.metadata.outputs.dependency-type
189
- # - steps.metadata.outputs.update-type
187
+ # - steps.dependabot- metadata.outputs.dependency-names
188
+ # - steps.dependabot- metadata.outputs.dependency-type
189
+ # - steps.dependabot- metadata.outputs.update-type
190
190
` ` `
191
191
{% endraw %}
192
192
@@ -214,12 +214,12 @@ jobs:
214
214
if: ${{ github.actor == 'dependabot[bot]' }}
215
215
steps:
216
216
- name: Dependabot metadata
217
- id: metadata
217
+ id: dependabot- metadata
218
218
uses: dependabot/[email protected]
219
219
with:
220
220
github-token: "${{ secrets.GITHUB_TOKEN }}"
221
221
- name: Add a label for all production dependencies
222
- if: ${{ steps.metadata.outputs.dependency-type == 'direct:production' }}
222
+ if: ${{ steps.dependabot- metadata.outputs.dependency-type == 'direct:production' }}
223
223
run: gh pr edit "$PR_URL" --add-label "production"
224
224
env:
225
225
PR_URL: ${{github.event.pull_request.html_url}}
@@ -244,7 +244,7 @@ jobs:
244
244
if: ${{ github.actor == 'dependabot[bot]' }}
245
245
steps:
246
246
- name: Dependabot metadata
247
- id: metadata
247
+ id: dependabot- metadata
248
248
uses: dependabot/[email protected]
249
249
with:
250
250
github-token: "${{ secrets.GITHUB_TOKEN }}"
@@ -277,12 +277,12 @@ jobs:
277
277
if: ${{ github.actor == 'dependabot[bot]' }}
278
278
steps:
279
279
- name: Dependabot metadata
280
- id: metadata
280
+ id: dependabot- metadata
281
281
uses: dependabot/[email protected]
282
282
with:
283
283
github-token: "${{ secrets.GITHUB_TOKEN }}"
284
284
- name: Enable auto-merge for Dependabot PRs
285
- if: ${{contains(steps.metadata.outputs.dependency-names, 'my-dependency') && steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
285
+ if: ${{contains(steps.dependabot- metadata.outputs.dependency-names, 'my-dependency') && steps.dependabot- metadata.outputs.update-type == 'version-update:semver-patch'}}
286
286
run: gh pr merge --auto --merge "$PR_URL"
287
287
env:
288
288
PR_URL: ${{github.event.pull_request.html_url}}
0 commit comments