Skip to content

chore(ci): add label workflow #2003

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

Conversation

strantalis
Copy link
Member

@strantalis strantalis commented Mar 25, 2025

Proposed Changes

Adding label workflow which has one job at this time and that is to label pull requests with external-contributor if the user opening the pull request is not a member of the org.

This workflow keys off of author_associations from the pull request context.

Best link that I could find to describe each association

Also adds the following actions

Checklist

  • I have added or updated unit tests
  • I have added or updated integration tests (if appropriate)
  • I have added or updated documentation

Testing Instructions

@strantalis strantalis requested review from a team as code owners March 25, 2025 20:53
@strantalis strantalis enabled auto-merge May 15, 2025 12:59
@jrschumacher jrschumacher disabled auto-merge May 15, 2025 13:06
@jrschumacher jrschumacher enabled auto-merge May 15, 2025 13:06
jrschumacher
jrschumacher previously approved these changes May 15, 2025
@strantalis strantalis force-pushed the dspx-641/external-contrib-labeler branch from e100a6b to fc3834e Compare May 15, 2025 16:04
@policy-bot-opentdf policy-bot-opentdf bot dismissed stale reviews from dmihalcik-virtru and jrschumacher May 15, 2025 16:04

Invalidated by push of fc3834e

@dmihalcik-virtru dmihalcik-virtru self-requested a review May 15, 2025 16:28
@jrschumacher jrschumacher added this pull request to the merge queue May 15, 2025
Merged via the queue into opentdf:main with commit 15b92c0 May 15, 2025
31 checks passed
alkalescent pushed a commit that referenced this pull request May 19, 2025
### Proposed Changes

Adding label workflow which has one job at this time and that is to
label pull requests with `external-contributor` if the user opening the
pull request is not a member of the org.

This workflow keys off of `author_associations` from the pull request
context.

Best
[link](https://docs.github.com/en/graphql/reference/enums#commentauthorassociation)
that I could find to describe each association

Also adds the following actions
- https://github.com/CodelyTV/pr-size-labeler
- https://github.com/actions/labeler

### Checklist

- [ ] I have added or updated unit tests
- [ ] I have added or updated integration tests (if appropriate)
- [ ] I have added or updated documentation

### Testing Instructions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants