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

Format workflow not running on push to non-main branches #1229

Closed
astrogeco opened this issue Mar 10, 2022 · 1 comment · Fixed by #1190
Closed

Format workflow not running on push to non-main branches #1229

astrogeco opened this issue Mar 10, 2022 · 1 comment · Fixed by #1190

Comments

@astrogeco
Copy link
Contributor

Describe the bug
The format-check workflow has a restriction to only run on pushes to main.

To Reproduce
Create a new branch, push code changes to it, notice that format-check workflow does not execute.

Expected behavior
Workflow runs on all pushes

Code snips

on:
push:
branches:
- main

System observed on:
Github Actions

Additional context
Might be worth leveraging the reusable workflow in cFS https://github.com/nasa/cFS/blob/main/.github/workflows/format-check.yml

Reporter Info
Gerardo E. Cruz-Ortiz, NASA

@astrogeco
Copy link
Contributor Author

Fixed in ba426bb

@skliper skliper added this to the Draco milestone Mar 29, 2022
@skliper skliper linked a pull request Mar 29, 2022 that will close this issue
jphickey pushed a commit to jphickey/osal that referenced this issue Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants