Bump dependencies #18
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: Label PRs | |
on: pull_request_target | |
jobs: | |
label: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.user.login == 'dependabot[bot]' | |
steps: | |
- name: Fetch metadata | |
id: metadata | |
uses: dependabot/[email protected] | |
with: | |
skip-verification: true | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
ref: ${{github.head_ref}} | |
repository: ${{github.event.pull_request.head.repo.full_name}} | |
- name: Add labels | |
run: | |
gh pr edit ${{github.event.pull_request.number}} --add-label | |
"${{steps.metadata.outputs.dependency-type}},${{steps.metadata.outputs.update-type}}" | |
env: | |
GITHUB_TOKEN: ${{secrets.TOKEN}} |