Skip to content

chore: add pr labeler #163

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

Merged
merged 1 commit into from
Mar 19, 2021
Merged

chore: add pr labeler #163

merged 1 commit into from
Mar 19, 2021

Conversation

erezrokah
Copy link

This PR adds a GitHub action to auto label PRs based on the title

@github-actions github-actions bot added the type: chore work needed to keep the product and development running smoothly label Mar 18, 2021

jobs:
label-pr:
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't run this action on PRs created from forks since those don't have write access to the repo.

@erezrokah erezrokah requested a review from lindsaylevine March 18, 2021 17:50
Copy link

@lindsaylevine lindsaylevine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SWeEEET thank you

@erezrokah erezrokah merged commit 8942d82 into main Mar 19, 2021
@erezrokah erezrokah deleted the chore/add_pr_labeler branch March 19, 2021 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: chore work needed to keep the product and development running smoothly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants