dependabot / fetch-metadata

Extract information about the dependencies being updated by a Dependabot-generated PR.
MIT License
170 stars 61 forks source link

Update readme to include an if conditional #548

Closed Nishnha closed 2 weeks ago

Nishnha commented 2 weeks ago

Update the readme to include an if conditional for all examples. See https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution

The workflow examples have the on: pull_request_trigger, so it's important to scope the workflow trigger to the repo and check the PR actor.

Also update all fetch-metadata@v1 references in the readme to v2