Skip to content

Some GitHub Actions workflows not running in some branches and forks #205

@astrogeco

Description

@astrogeco

Describe the bug
Workflows only run in the main branch of a forked repo for submodules (and maybe the bundle as well)

To Reproduce

  1. Create a new branch in nasa repo or fork
  2. Push a change to the branch
  3. Observe GitHub Action Workflow dashboard and notice that workflows DO NOT run for your new branch

Expected behavior
Workflows should run for branches in forks and in nasa repo

Code snips
Probably due to this section in our workflows

on:
  push:
    branches:
      - main
  pull_request:

System observed on:
Ubuntu 18.04 (github workflows runner)

Additional context
Can be worked around by creating a pull request on your fork that targets the branch you're working on

Reporter Info
Full name and company/organization if applicable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions