Skip to content

Commit 06ea45a

Browse files
authored
Merge pull request #563 from CloudNStoyan/main
fix readme action example
2 parents b0d0393 + bbfca7e commit 06ea45a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ Extract information about the dependencies being updated by a Dependabot-generat
1717
Create a workflow file that contains a step that uses: `dependabot/fetch-metadata@v2`, e.g.
1818

1919
```yaml
20-
-- .github/workflows/dependabot-prs.yml
20+
# .github/workflows/dependabot-prs.yml
2121
name: Dependabot Pull Request
2222
on: pull_request
23-
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'owner/my_repo'
2423
jobs:
25-
build:
24+
dependabot:
2625
permissions:
2726
pull-requests: read
2827
runs-on: ubuntu-latest
28+
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'owner/my_repo'
2929
steps:
3030
- name: Fetch Dependabot metadata
3131
id: dependabot-metadata

0 commit comments

Comments
 (0)