Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/transferwise/tw-auto-label
https://github.com/transferwise/tw-auto-label
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/transferwise/tw-auto-label
- Owner: transferwise
- Created: 2021-03-02T16:31:00.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-20T15:44:29.000Z (almost 2 years ago)
- Last Synced: 2024-11-06T17:35:36.942Z (2 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Check labels in PR
Checks that one of the following labels is present on the pull request: `change: standard`, `change:emergency`, `change:impactful`.
If not the action automatically assigns `change: standard`## Setup
Create a `.yml` file under the `.github/workflows/` directory in your repository with the following contents:
```
name: Expect labels
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: transferwise/[email protected]
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
```Then, enable the corresponding status check in the branch protection rules of your repo.