Skip to content

Test base PR for #2940 (1406e3f59781b21775a7720ee4b86a3499277d98) #73

Test base PR for #2940 (1406e3f59781b21775a7720ee4b86a3499277d98)

Test base PR for #2940 (1406e3f59781b21775a7720ee4b86a3499277d98) #73

Workflow file for this run

name: Dependabot
on:
pull_request:
branches: [main, '[0-9]+-[0-9]+-*']
workflow_dispatch:
jobs:
label:
name: Label
if: ${{ !startsWith(github.head_ref, 'workflows/tests/') && github.actor == 'dependabot[bot]' && github.actor_id == 49699333 }}
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Add label for types group
if: ${{ contains(github.event.pull_request.title, 'Bump the types group') }}
env:
GH_TOKEN: ${{ github.token }}
REPO: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: gh pr edit "$PR_NUMBER" --repo "$REPO" --add-label "pass2ship" --remove-reviewer "catchen"
- name: Add label for development-dependencies group
if: ${{ contains(github.event.pull_request.title, 'Bump the development-dependencies group') }}
env:
GH_TOKEN: ${{ github.token }}
REPO: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: gh pr edit "$PR_NUMBER" --repo "$REPO" --add-label "pass2ship" --remove-reviewer "catchen"