pr-labeler-action

Automatically labels your PRs based on branch name patterns like feature/* or fix/*.

MIT License

Stars
245
Committers
14

Bot releases are hidden (Show)

pr-labeler-action - v5.0.0 Latest Release

Published by TimonVS 8 months ago

What's Changed

Full Changelog: https://github.com/TimonVS/pr-labeler-action/compare/v4.1.0...v5.0.0

pr-labeler-action - v4.1.1

Published by TimonVS almost 2 years ago

What's Changed

  • Add missing build

Full Changelog: https://github.com/TimonVS/pr-labeler-action/compare/v4.1.0...v4.1.1

pr-labeler-action - v4.1.0

Published by TimonVS almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/TimonVS/pr-labeler-action/compare/v4.0.0...v4.1.0

pr-labeler-action - v4.0.0

Published by TimonVS almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/TimonVS/pr-labeler-action/compare/v3.1.0...v4.0.0

pr-labeler-action - v3.1.0

Published by TimonVS almost 5 years ago

Changelog

  • Refactor to TypeScript (#22) @hugo-vrijswijk
  • Set-up CI using GitHub Actions (#21) @TimonVS
  • Add configuration path option (#20) @amacado
  • Don't apply default config when custom config is provided (#20) @amacado

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

pr-labeler-action - v3.0.0

Published by TimonVS about 5 years ago

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
pr-labeler-action - v2.1.0

Published by TimonVS about 5 years ago

Changelog

  • Load config from branch initiating the pull request (#9) @amacado
pr-labeler-action - v2.0.0

Published by TimonVS about 5 years ago

Changelog

pr-labeler-action - v1.0.1

Published by TimonVS over 5 years ago

Changelog

pr-labeler-action - v1.0.0

Published by TimonVS over 5 years ago

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.

Package Rankings
Top 0.9% on Github actions
Top 8.17% on Proxy.golang.org
Badges
Extracted from project README
All Contributors
Related Projects