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:
153153 uses : dependabot/fetch-metadata@v2
154154 - name : Enable auto-merge for Dependabot PRs
155155 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}} "
157157 env :
158- PR_URL : ${{github.event.pull_request.html_url}}
159- GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
158+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
160159` ` `
161160
162161### Labelling
@@ -182,9 +181,8 @@ jobs:
182181 uses : dependabot/fetch-metadata@v2
183182 - name : Add a label for all production dependencies
184183 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"
186185 env :
187- PR_URL : ${{github.event.pull_request.html_url}}
188186 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
189187` ` `
190188
You can’t perform that action at this time.
0 commit comments