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/[email protected]
with:
token: "${{ secrets.GITHUB_TOKEN }}"
- Configure and install dependencies:
npm install
- Create a new branch
git checkout -b my_branch_name
- Make any changes
- Update the
dist/
files:npm run build
- Push your fork and submit a PR