Skip to content

Conversation

@srz-zumix
Copy link

Description:

Changed to get branch name from pull request response.
This allows labeling with head-branch/base-branch rules outside of pull_request events.

e.g.

on:
  workflow_dispatch:
    inputs:
      pr-number:

jobs:
  labeler:
    permissions:
      contents: read
      pull-requests: write
    runs-on: ubuntu-latest
    steps:
    - uses: actions/labeler@v5
      with:
        pr-number: ${{ inputs.pr-number }}

Related issue:

#810

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@srz-zumix srz-zumix requested a review from a team as a code owner June 5, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant