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

Fix #1184, Static Analysis Add Duplicate and Remove Main Push #1185

Conversation

ArielSAdamsNASA
Copy link
Contributor

@ArielSAdamsNASA ArielSAdamsNASA commented Oct 22, 2021

Describe the contribution
Fixes #1184

Testing performed
Forked repo, https://github.com/ArielSAdamsNASA/osal/actions/runs/1372520583.

Expected behavior changes
Static analysis workflow should run on all branches for both pull requests and push. The duplicate job prevents two instances of the static analysis to run at the same time. Pull requests are prioritized.

Contributor Info - All information REQUIRED for consideration of pull request
Ariel Adams, ASRC Federal

@ArielSAdamsNASA ArielSAdamsNASA added CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) continuous-integration labels Oct 22, 2021
Copy link
Contributor

@skliper skliper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Although looks like CodeQL workflow is broken?

@ArielSAdamsNASA
Copy link
Contributor Author

Looks good! Although looks like CodeQL workflow is broken?

Looking into it. For some reason it is only broken for CodeQL OSAL and not cFE.

@ArielSAdamsNASA
Copy link
Contributor Author

@skliper I don't know why it is broken, but I know how to fix it. There are two options.

One is changing the codeql-coding-standard.yml in cFS to use nasa/cFS/.github/codeql/jpl-misra.qls@main as seen here: https://github.com/ArielSAdamsNASA/osal/actions/runs/1372651054

The second option is to create a local jpl-misra.qls file in OSAL as seen here: https://github.com/ArielSAdamsNASA/osal/actions/runs/1372677254

@skliper
Copy link
Contributor

skliper commented Oct 22, 2021

@ArielSAdamsNASA I suggest using the cFS one

@ArielSAdamsNASA ArielSAdamsNASA removed the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Oct 26, 2021
@ArielSAdamsNASA
Copy link
Contributor Author

Fixed by #1190.

jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
Fix nasa#1185, Squash possible uninitialized variable false alarms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Static analysis workflow missing duplicate check and restricted to main push
3 participants