Skip to content

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

v1.2.2

Choose a tag to compare

@JoshwJB JoshwJB released this 03 Jan 15:55

What's Changed

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

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

Choose a tag to compare

@JoshwJB JoshwJB released this 01 Feb 22:21
2a0ac09

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

Choose a tag to compare

@JoshwJB JoshwJB released this 26 Jan 20:27
5fc7cac

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

Choose a tag to compare

@JoshwJB JoshwJB released this 10 Dec 18:52

Adds option to change label prefixes and set label colours.

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

v1.0.1

Choose a tag to compare

@JoshwJB JoshwJB released this 07 Dec 22:19
b412664

Small Readme.md fix

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

v1.0.0

Choose a tag to compare

@JoshwJB JoshwJB released this 07 Dec 22:17
5f1f047

Full Changelog: v0.0.4...v1.0.0

v0.0.4

Choose a tag to compare

@JoshwJB JoshwJB released this 07 Dec 22:15
68f21ef

Full Changelog: V0.0.3...v0.0.4

V0.0.3

Choose a tag to compare

@JoshwJB JoshwJB released this 07 Dec 22:05
6bac975

Full Changelog: V0.0.2...V0.0.3

V0.02

Choose a tag to compare

@JoshwJB JoshwJB released this 07 Dec 21:54
0be642c

Full Changelog: V0.0.1...V0.0.2

Publish V0.0.1

Pre-release

Choose a tag to compare

@JoshwJB JoshwJB released this 07 Dec 21:42

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