Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PR/issue management things #3

Closed
jsstevenson opened this issue Jan 29, 2024 · 2 comments
Closed

Add PR/issue management things #3

jsstevenson opened this issue Jan 29, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request priority:low Low priority

Comments

@jsstevenson
Copy link
Member

Require PR labels:

on:
  pull_request:
    types:
      - opened
      - labeled

jobs:
  check_priority_label:
    runs-on: ubuntu-latest
    steps:
      - name: "Check for required priority labels"
        if: ${{ !contains(github.event.pull_request.labels.*.name, 'priority:low') && 
                !contains(github.event.pull_request.labels.*.name, 'priority:medium') && 
                !contains(github.event.pull_request.labels.*.name, 'priority:high')}}
        run: exit 1
@jsstevenson jsstevenson added the enhancement New feature or request label Jan 29, 2024
@korikuzma
Copy link
Member

🫡

@jsstevenson jsstevenson added the priority:low Low priority label Jan 31, 2024
@korikuzma
Copy link
Member

This was added in #11 (I forgot there was an issue for this already)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:low Low priority
Projects
None yet
Development

No branches or pull requests

2 participants