Skip to content

Test PR

Test PR #13

# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler
name: Labeler
on:
pull_request:
types: [labeled, unlabeled, edited]
jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Get PR labels
id: pr-labels
uses: joerick/[email protected]
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Get PR number
id: pr-info
run: echo ${{ github.event.number }}