Skip to content

Releases: TimonVS/pr-labeler-action

v5.0.0

09 Feb 10:35
f9c0843
Compare
Choose a tag to compare

What's Changed

  • License updates for chore/update-licensed-ci by @github-actions in #77
  • Update Licenced CI workflow by @TimonVS in #76
  • License updates for dev by @github-actions in #85
  • Configure Action for Node.js 20 support and upgrade dependencies by @TimonVS in #84

Full Changelog: v4.1.0...v5.0.0

v4.1.1

16 Nov 14:44
Compare
Choose a tag to compare

What's Changed

  • Add missing build

Full Changelog: v4.1.0...v4.1.1

v4.1.0

16 Nov 14:33
01938b9
Compare
Choose a tag to compare

What's Changed

  • Add permissions to README by @danyeaw in #59
  • License updates for main by @github-actions in #72
  • Allow repo token to be passed in with section by @TimonVS in #75

New Contributors

  • @danyeaw made their first contribution in #59
  • @github-actions made their first contribution in #72

Full Changelog: v4.0.0...v4.1.0

v4.0.0

15 Nov 20:02
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1.0...v4.0.0

v3.1.0

27 Oct 16:01
Compare
Choose a tag to compare

Changelog

✨ A huge thanks to @hugo-vrijswijk and @amacado for making this release happen!

v3.0.0

07 Oct 18:56
Compare
Choose a tag to compare

Changelog

  • Refactor to use @actions/core instead of deprecated actions-toolkit (#16) @TimonVS

Migration guide

As per v3, binding to the master version is no longer supported. Please update .github/workflows/pr-labeler.yml to bind to a major version.

You can do so by changing:

- uses: TimonVS/pr-labeler-action@master

To:

- uses: TimonVS/pr-labeler-action@v3

v2.1.0

03 Oct 07:41
aa0386d
Compare
Choose a tag to compare

Changelog

  • Load config from branch initiating the pull request (#9) @amacado

v2.0.0

23 Sep 08:22
Compare
Choose a tag to compare

Changelog

  • Update readme with new YAML configuration format (#7) @amacado
  • Replace deprecated wildcard with matcher (#7) @amacado

v1.0.1

09 Jul 14:00
32e2e6b
Compare
Choose a tag to compare

Changelog

  • Bump handlebars from 4.1.1 to 4.1.2 (#3)

v1.0.0

07 Apr 13:55
3fbbc74
Compare
Choose a tag to compare

This is a GitHub Action that automatically applies labels to your PRs based on branch name patterns like feature/* or fix/*.

Usage

Add .github/main.workflow with the following:

workflow "Add label to PR" {
  on = "pull_request"
  resolves = "PR Labeler"
}

action "PR opened filter" {
  uses = "actions/bin/filter@master"
  args = "action opened"
}

action "PR Labeler" {
  needs = "PR opened filter"
  uses = "TimonVS/pr-labeler@master"
  secrets = ["GITHUB_TOKEN"]
}

Configuration

Configure by creating a .github/pr-labeler.yml file.

For example:

feature: ['feature/*', 'feat/*']
fix: fix/*
chore: chore/*

Then if a pull request is opened with the branch name feature/218-add-emoji-support the Action will automatically apply the feature label.