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

Error: Parameter token or opts.auth is required #458

Open
praveshishere opened this issue Nov 11, 2022 · 0 comments
Open

Error: Parameter token or opts.auth is required #458

praveshishere opened this issue Nov 11, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@praveshishere
Copy link

praveshishere commented Nov 11, 2022

What happened

I'm trying to add a label mylabel whenever a new issue or PR is created on my repo but it doesn't work in case of creating a PR from a fork.

I'm getting this error when a PR is made from fork

Error: Parameter token or opts.auth is required

Workflow file: https://github.com/PrinceAtVidyaMantra/TestGihubAddLabel/blob/main/.github/workflows/addMyLabel.yml

What you expected to happen

The workflow should have been run successfully and mylabel label should have been added

How to reproduce it

Here is the workflow file,
and the test run failed.

Environment

@praveshishere praveshishere added the bug Something isn't working label Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant