Skip to content

Not running workflows on "pull_request" events. #8

@davidlehn

Description

@davidlehn

The workflows here currently only run on "push" events. This works fine when PRs are created for local branches, as it sees the pushes. But when a PR is opened from and external repo, the workflows do not run. This is an issue with outside collaborators making PRs from their clones. We certainly would like to run the tests on such PRs!

Docs:
https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#on
https://docs.github.com/en/actions/reference/events-that-trigger-workflows

Current config files use:

  on: [push]

We likely want:

  on: [push, pull_request]

I haven't tested the change yet. Does this seem correct?

As this has been copied all over, it will unfortunately take some time and/or effort to update everything.

Example where workflows were not run:
digitalbazaar/vc-revocation-list#19

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions