Skip to content

Releases: JoshwJB/pull-request-size-labelling-probot

v1.2.2

03 Jan 15:55
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.1...v1.2.2

v1.2.1 - Refactoring to make less calls to GitHub overall

01 Feb 22:21
2a0ac09
Compare
Choose a tag to compare

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

26 Jan 20:27
5fc7cac
Compare
Choose a tag to compare

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

10 Dec 18:52
Compare
Choose a tag to compare

Adds option to change label prefixes and set label colours.

Full Changelog: v1.1.0...v1.1.1

v1.0.1

07 Dec 22:19
b412664
Compare
Choose a tag to compare

Small Readme.md fix

Full Changelog: v1.0.0...v1.0.1

v1.0.0

07 Dec 22:17
5f1f047
Compare
Choose a tag to compare

v0.0.4

07 Dec 22:15
68f21ef
Compare
Choose a tag to compare

V0.0.3

07 Dec 22:05
6bac975
Compare
Choose a tag to compare

V0.02

07 Dec 21:54
0be642c
Compare
Choose a tag to compare

Publish V0.0.1

07 Dec 21:42
Compare
Choose a tag to compare
Pre-release

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