From 6c031ac618d23a38e886535b1c8ea06caaf2a444 Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Fri, 28 Mar 2025 17:38:45 -0700 Subject: [PATCH] Tidy up examples slightly (#611) Tidies up the examples slightly --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c4c73d7..c449da5 100644 --- a/README.md +++ b/README.md @@ -153,10 +153,9 @@ jobs: uses: dependabot/fetch-metadata@v2 - name: Enable auto-merge for Dependabot PRs if: ${{contains(steps.dependabot-metadata.outputs.dependency-names, 'rails') && steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch'}} - run: gh pr merge --auto --merge "$PR_URL" + run: gh pr merge --auto --merge "${{github.event.pull_request.html_url}}" env: - PR_URL: ${{github.event.pull_request.html_url}} - GH_TOKEN: ${{secrets.GITHUB_TOKEN}} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} ``` ### Labelling @@ -182,9 +181,8 @@ jobs: uses: dependabot/fetch-metadata@v2 - name: Add a label for all production dependencies if: ${{ steps.dependabot-metadata.outputs.dependency-type == 'direct:production' }} - run: gh pr edit "$PR_URL" --add-label "production" + run: gh pr edit "${{github.event.pull_request.html_url}}" --add-label "production" env: - PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} ```