@@ -10,7 +10,7 @@ Extract information about the dependencies being updated by a Dependabot-generat
10
10
11
11
## Usage instructions
12
12
13
- Create a workflow file that contains a step that uses:
` dependabot/[email protected] .0 ` , e.g.
13
+ Create a workflow file that contains a step that uses:
` dependabot/[email protected] .1 ` , e.g.
14
14
15
15
``` yaml
16
16
-- .github/workflows/dependabot-prs.yml
22
22
steps :
23
23
- name : Fetch Dependabot metadata
24
24
id : dependabot-metadata
25
- uses :
dependabot/[email protected] .0
25
+ uses :
dependabot/[email protected] .1
26
26
with :
27
27
alert-lookup : true
28
28
compat-lookup : true
95
95
steps:
96
96
- name: Dependabot metadata
97
97
id: dependabot-metadata
98
- uses: dependabot/[email protected] .0
98
+ uses: dependabot/[email protected] .1
99
99
- uses: actions/checkout@v3
100
100
- name: Approve a PR if not already approved
101
101
run: |
@@ -129,7 +129,7 @@ jobs:
129
129
steps :
130
130
- name : Dependabot metadata
131
131
id : dependabot-metadata
132
- uses :
dependabot/[email protected] .0
132
+ uses :
dependabot/[email protected] .1
133
133
- name : Enable auto-merge for Dependabot PRs
134
134
if : ${{contains(steps.dependabot-metadata.outputs.dependency-names, 'rails') && steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch'}}
135
135
run : gh pr merge --auto --merge "$PR_URL"
@@ -158,7 +158,7 @@ jobs:
158
158
steps :
159
159
- name : Dependabot metadata
160
160
id : dependabot-metadata
161
- uses :
dependabot/[email protected] .0
161
+ uses :
dependabot/[email protected] .1
162
162
- name : Add a label for all production dependencies
163
163
if : ${{ steps.dependabot-metadata.outputs.dependency-type == 'direct:production' }}
164
164
run : gh pr edit "$PR_URL" --add-label "production"
0 commit comments