Skip to content

Commit

Permalink
Merge pull request #563 from CloudNStoyan/main
Browse files Browse the repository at this point in the history
fix readme action example
  • Loading branch information
Nishnha authored Oct 23, 2024
2 parents b0d0393 + bbfca7e commit 06ea45a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ Extract information about the dependencies being updated by a Dependabot-generat
Create a workflow file that contains a step that uses: `dependabot/fetch-metadata@v2`, e.g.

```yaml
-- .github/workflows/dependabot-prs.yml
# .github/workflows/dependabot-prs.yml
name: Dependabot Pull Request
on: pull_request
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'owner/my_repo'
jobs:
build:
dependabot:
permissions:
pull-requests: read
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'owner/my_repo'
steps:
- name: Fetch Dependabot metadata
id: dependabot-metadata
Expand Down

0 comments on commit 06ea45a

Please sign in to comment.