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

Issue number is requested for pull request #461

Open
schotti1001 opened this issue Nov 30, 2022 · 3 comments
Open

Issue number is requested for pull request #461

schotti1001 opened this issue Nov 30, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@schotti1001
Copy link

The error:
Error: HttpError: Empty value for parameter 'issue_number': undefined
Error: Empty value for parameter 'issue_number': undefined

is always thrown when executing this job:

addLabels:
name: add labels job
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.github_token }}
labels: testFailed
number: ${{ github.event.pull_request.number }}

How do i define this issue_number? When passing it it throws the error that it is a invaild param.

@schotti1001 schotti1001 added the bug Something isn't working label Nov 30, 2022
@schotti1001 schotti1001 reopened this Dec 1, 2022
@schotti1001
Copy link
Author

Closed this because i thought the problem was github.event.pull_request.number (changed to test to on push instead of on pull request)
I tried everything i could think of, i still always get the error
Error: HttpError: Empty value for parameter 'issue_number': undefined
Error: Empty value for parameter 'issue_number': undefined

@akshat-kukreti
Copy link

+1

@mathis-la-debrouille
Copy link

is there anything new on this topic? same problem

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

3 participants