-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ Extract information about the dependencies being updated by a Dependabot-generat | |
|
||
## Usage instructions | ||
|
||
Create a workflow file that contains a step that uses: `dependabot/fetch-metadata@v1`, e.g. | ||
Create a workflow file that contains a step that uses: `dependabot/fetch-metadata@v1.3.4`, e.g. | ||
|
||
```yaml | ||
-- .github/workflows/dependabot-prs.yml | ||
|
@@ -26,7 +26,7 @@ jobs: | |
steps: | ||
- name: Fetch Dependabot metadata | ||
id: dependabot-metadata | ||
uses: dependabot/fetch-metadata@v1 | ||
uses: dependabot/fetch-metadata@v1.3.4 | ||
with: | ||
alert-lookup: true | ||
compat-lookup: true | ||
|
@@ -102,7 +102,7 @@ jobs: | |
steps: | ||
- name: Dependabot metadata | ||
id: dependabot-metadata | ||
uses: dependabot/[email protected].3 | ||
uses: dependabot/[email protected].4 | ||
- uses: actions/checkout@v3 | ||
- name: Approve a PR if not already approved | ||
run: | | ||
|
@@ -136,7 +136,7 @@ jobs: | |
steps: | ||
- name: Dependabot metadata | ||
id: dependabot-metadata | ||
uses: dependabot/[email protected].3 | ||
uses: dependabot/[email protected].4 | ||
- 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" | ||
|
@@ -165,7 +165,7 @@ jobs: | |
steps: | ||
- name: Dependabot metadata | ||
id: dependabot-metadata | ||
uses: dependabot/[email protected].3 | ||
uses: dependabot/[email protected].4 | ||
- 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" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters