Add pre-commit-ci-lite action to automate PR lint fixes #3431
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Labels | |
on: [pull_request_target] | |
jobs: | |
size-labels: | |
runs-on: ubuntu-latest | |
name: Label the PR size | |
steps: | |
- uses: learningequality/pr-labeler@0da0f2aedfe5cb64819beb865015a57e19fbecf6 | |
with: | |
xs_max_size: '10' | |
s_max_size: '100' | |
m_max_size: '500' | |
l_max_size: '1000' | |
exclude_files: '^$' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
other-labels: | |
permissions: | |
contents: read | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/labeler@v5 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" |