Skip to content

Support workflow_run events #155

@apexskier

Description

@apexskier
Contributor

I'm attempting to use this workflow after being triggered by workflow_run, as described in https://securitylab.github.com/research/github-actions-preventing-pwn-requests/.

However, I get the error invalid event type: workflow_run (from here).

You can see how I'm using this at https://github.com/apexskier/nova-json-language-server/blob/ea98f31ada6c0a0561bfbee45dc92c2bc621687b/.github/workflows/dependencies.yml.

From what I see in the code, workflow_run could be supported by checking github.event.workflow_run.event and delegating to some of the other executors.

Activity

apexskier

apexskier commented on May 22, 2021

@apexskier
ContributorAuthor

Just found #144. It looks like the PR that resolved it was for workflow_dispatch, not workflow_run.

added a commit that references this issue on May 22, 2021
333a8e2
added a commit that references this issue on May 26, 2021
1f4896c
pascalgn

pascalgn commented on May 26, 2021

@pascalgn
Owner

Thanks for the PR, it's merged now! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @apexskier@pascalgn

      Issue actions

        Support `workflow_run` events · Issue #155 · pascalgn/automerge-action