Releases: JoshwJB/pull-request-size-labelling-probot
v1.2.2
What's Changed
- Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #11
- Bump @babel/traverse from 7.20.5 to 7.23.2 by @dependabot in #12
- Bump probot from 12.2.8 to 12.3.3 by @dependabot in #13
Full Changelog: v1.2.1...v1.2.2
v1.2.1 - Refactoring to make less calls to GitHub overall
This release reduces the number of requests made by consolidating some, and disabling label generation by default (This is just the process of creating each of the labels with an appropriate colour, not adding them to a PR).
v1.2.0 - Adding omitted files/directory support
What's Changed
- refactor/Add tests and fix prefix bug for label deletion by @JoshwJB in #1
- Bump jsonwebtoken and universal-github-app-jwt by @dependabot in #3
- Bump json5 from 2.2.1 to 2.2.3 by @dependabot in #2
- Refactor/add more tests and refactor label features by @JoshwJB in #4
- Refactor/get config is called multiple times by @JoshwJB in #5
- Bump cookiejar from 2.1.3 to 2.1.4 by @dependabot in #7
- WIP: feature/Add baseline omitted directory support by @JoshwJB in #6
- Bugfix/add omitted directory support by @JoshwJB in #8
Full Changelog: v1.1.1...v1.2.0
v1.1.1
Adds option to change label prefixes and set label colours.
Full Changelog: v1.1.0...v1.1.1
v1.0.1
Small Readme.md fix
Full Changelog: v1.0.0...v1.0.1
v1.0.0
Full Changelog: v0.0.4...v1.0.0
v0.0.4
Full Changelog: V0.0.3...v0.0.4
V0.0.3
Full Changelog: V0.0.2...V0.0.3
V0.02
Full Changelog: V0.0.1...V0.0.2
Publish V0.0.1
First release:
Add the following to use:
name: "Pull Request Labelling"
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
addLabels:
runs-on: ubuntu-latest
steps:
- uses: JoshwJB/pull-request-size-probot@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Overriding the default config
Add a new file under .github/pullRequestSizing.yml
and add the config below to it, updating any values you wish to change.
You can use the labels section to enable/disable the lines changed and files changed labelling independantly.
labels:
lines: true
files: true
lines:
xxl: 1000
xl: 500
l: 250
m: 100
s: 20
files:
xxl: 60
xl: 40
l: 25
m: 10
s: 5