File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -153,10 +153,9 @@ jobs:
153
153
uses : dependabot/fetch-metadata@v2
154
154
- name : Enable auto-merge for Dependabot PRs
155
155
if : ${{contains(steps.dependabot-metadata.outputs.dependency-names, 'rails') && steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch'}}
156
- run : gh pr merge --auto --merge "$PR_URL "
156
+ run : gh pr merge --auto --merge "${{github.event.pull_request.html_url}} "
157
157
env :
158
- PR_URL : ${{github.event.pull_request.html_url}}
159
- GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
158
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
160
159
` ` `
161
160
162
161
### Labelling
@@ -182,9 +181,8 @@ jobs:
182
181
uses : dependabot/fetch-metadata@v2
183
182
- name : Add a label for all production dependencies
184
183
if : ${{ steps.dependabot-metadata.outputs.dependency-type == 'direct:production' }}
185
- run : gh pr edit "$PR_URL " --add-label "production"
184
+ run : gh pr edit "${{github.event.pull_request.html_url}} " --add-label "production"
186
185
env :
187
- PR_URL : ${{github.event.pull_request.html_url}}
188
186
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
189
187
` ` `
190
188
You can’t perform that action at this time.
0 commit comments