Skip to content

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

Open
@arturingeniousio

Description

@arturingeniousio

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions