Skip to content

Add shared fields and cases alias to @ObjectSource #33

Add shared fields and cases alias to @ObjectSource

Add shared fields and cases alias to @ObjectSource #33

name: First-time Contributor
on:
pull_request_target:
types: [opened]
permissions:
contents: read
pull-requests: write
jobs:
label:
runs-on: ubuntu-latest
steps:
- name: Add label for first-time contributor
if: github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
run: gh pr edit "$PR_NUMBER" --add-label "first-time contributor"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
GH_REPO: ${{ github.repository }}