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

Same pull_request number in github actions, for two pull request from one branch #492

Open
arturingeniousio opened this issue May 5, 2021 · 0 comments

Comments

@arturingeniousio
Copy link

I making screnario when i try to make two pull request from one branch to two other different.
So I got mine working branch ex. test-1
I making pr test-1 to master and get in url pr number 100 - i leave open that pr.
After that i made next pr text-1 to staging branch and in url see pr number 101 - and also leave open.

I checked github actions and in both cases i got same check_run_id with different pr number.
When i made ${{ github.event.number }} in github action got same pr number in both actions and its looking like is one action.
Do anyone know how to keep actions separate for each pr and get right pr_number?
I tried a lot of cases, read docs and cant find anythink what will solve my problem.

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

1 participant