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

Does not label PRs opened by non-contributors #8

Open
paularmstrong opened this issue Feb 17, 2020 · 2 comments
Open

Does not label PRs opened by non-contributors #8

paularmstrong opened this issue Feb 17, 2020 · 2 comments

Comments

@paularmstrong
Copy link

paularmstrong commented Feb 17, 2020

Problem: For any PR opened by someone that isn't a contributor of the repo, the action runs with no error, but does not label the PR.

Example: https://github.com/paularmstrong/build-tracker/runs/451006211?check_suite_focus=true

name: On pull request

on: pull_request

jobs:
  housekeeping:
    name: Housekeeping
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - name: Add labels
        uses: adamzolyak/monorepo-pr-labeler-action@patching
        env:
          BASE_DIRS: src|plugins|docs
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@adamzolyak
Copy link
Member

Thanks @paularmstrong! I'll take a look.

@paularmstrong
Copy link
Author

Correction, contributor access is unrelated. It seems that it's an issue with PRs created from forks

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

No branches or pull requests

2 participants