Skip to content
tag

GitHub Action

tldr PR Labeler

v0.4.0 Latest version

tldr PR Labeler

tag

tldr PR Labeler

Automatically label new pull requests for tldr-pages/tldr repo

Installation

Copy and paste the following snippet into your .yml file.

              

- name: tldr PR Labeler

uses: tldr-pages/tldr-labeler-action@v0.4.0

Learn more about this action in tldr-pages/tldr-labeler-action

Choose a version

@tldr-pages/labeler

GitHub action that handles labeling PRs for the tldr-pages/tldr repo.

Usage

on: pull_request_target

permissions:
  pull-requests: write

jobs:
  labeler:
    runs-on: ubuntu-latest
    steps:
    - uses: tldr-pages/tldr-labeler-action@vX.Y.Z
      with:
        token: "${{ secrets.GITHUB_TOKEN }}"

Contributing

  1. Configure and install dependencies: npm install
  2. Create a new branch git checkout -b my_branch_name
  3. Make any changes
  4. Update the dist/ files: npm run build
  5. Push your fork and submit a PR