chore(deps): bump the production-dependencies group with 2 updates #179
Workflow file for this run
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
name: Dependabot Pull Request Metadata | |
on: pull_request_target | |
jobs: | |
build: | |
permissions: | |
pull-requests: read | |
runs-on: ubuntu-latest | |
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }} | |
steps: | |
- name: Fetch Dependabot metadata | |
id: dependabot-metadata | |
uses: dependabot/fetch-metadata@v1 | |
with: | |
alert-lookup: true | |
compat-lookup: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Add a label for all PRs with an alert state | |
if: ${{ steps.dependabot-metadata.outputs.alert-state != '' }} | |
run: gh pr edit "$PR_URL" --add-label "vulnerability" | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |