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

A simpler fix to the event type environment variable faulty check #376

Conversation

meyrevived
Copy link
Collaborator

Previously on The SeaLights-MPC Saga:
SeaLights asked that we'll add a testing phase to the github workflow that runs a SeaLights code scan on the main branch after it's been merged with new code.

This basically made sealights-mpc-test-ci.yaml extremely similar to this workflow and so I added code that runs this scan-and-test procedure to on->push events. Steps that need to run differently on pull requests and on push are checked to see how to run them.
Thus the name change to sealights-mpc-test-ci.yaml, removing sealights-mpc-test-on-merged-main.yaml and trigger-sealights-mpc-test-on-merged-main.yaml. codecov-main.yaml is also removed because mpc-test-sealights.yaml is already running codecov action. This was done in #372

Today's episode:
The way the if checks on push/pull_request steps is not written correctly invalidate the workflow, causing it to fail no matter what runs. This is a fix I tested in a small test repo

@meyrevived meyrevived merged commit a0e5125 into konflux-ci:main Jan 3, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants