Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ludeeus/action-require-labels
- Owner: ludeeus
- License: mit
- Created: 2023-06-29T15:18:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-30T10:43:23.000Z (about 1 month ago)
- Last Synced: 2024-10-04T19:43:52.867Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
- unlabeledpermissions: {}
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
```