Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ludeeus/action-require-labels

This action privides a simple solution to require specific labels on pull requests. Without the need to use the GitHub API and tokens.
https://github.com/ludeeus/action-require-labels

Last synced: 21 days ago
JSON representation

This action privides a simple solution to require specific labels on pull requests. Without the need to use the GitHub API and tokens.

Awesome Lists containing this project

README

        

# action-require-labels

This action privides a simple solution to require spesific labels on pull requests. Without the need to use the GitHub API and tokens.

## Inputs

### `labels`

**Required** Comma seperated string of labels to look for.

## Example usage

```yaml
name: "Check Pull Request labels"

on:
pull_request:
branches:
- main
types:
- labeled
- opened
- synchronize
- unlabeled

permissions: {}

jobs:
check_labels:
name: "Check Pull Request labels"
runs-on: ubuntu-latest
steps:
- name: Check the labels
uses: ludeeus/[email protected]
with:
labels: >-
bugfix, breaking-change, new-feature
```