Skip to content

feat: add option to skip internal contributors#94

Merged
plbstl merged 24 commits into
mainfrom
skip-internal-contributors
Mar 29, 2026
Merged

feat: add option to skip internal contributors#94
plbstl merged 24 commits into
mainfrom
skip-internal-contributors

Conversation

@plbstl

@plbstl plbstl commented Mar 28, 2026

Copy link
Copy Markdown
Owner

Internal contributors are organization members and repository collaborators.

To enable this behavior, set skip-internal-contributors to true, and populate the GH_PAT_READ_ORG env variable.

steps:
  - uses: plbstl/first-contribution@commit-sha
    env:
      GH_PAT_READ_ORG: ${{ secrets.GH_PAT_READ_ORG }}
    with:
      skip-internal-contributors: true
      # other options...

Create a Personal Access Token (PAT) with https://github.com/settings/tokens/new?scopes=read:org. Only read:org scope is needed.

Closes #93

@plbstl plbstl force-pushed the skip-internal-contributors branch from 421e2dc to 1067847 Compare March 29, 2026 16:46
Users will need a custom PAT for 'read:org'
@plbstl plbstl force-pushed the skip-internal-contributors branch from 1067847 to 488122d Compare March 29, 2026 19:08
@plbstl plbstl marked this pull request as ready for review March 29, 2026 19:32
@plbstl plbstl merged commit ad90c0b into main Mar 29, 2026
31 checks passed
@plbstl plbstl deleted the skip-internal-contributors branch March 29, 2026 19:43
@plbstl plbstl added the enhancement New feature or request label Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an optional property to ignore organisation members

1 participant