GitHub action that handles labeling PRs for the tldr-pages/tldr repo.
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 }}"
npm install
git checkout -b my_branch_name
dist/
files: npm run build