If you are hoping to condense the 2 workflows into one, you can probably use a conditional step that checks which event triggered that run. For example:
- if: ${{ github.event_name == 'push' }}run:# thing you want to do on a push
And then something similar for the schedule event.
I am a full-stack developer and love coding and tooling. At my work, I am often the person who is developing and setting up dev and production environments.
If you are hoping to condense the 2 workflows into one, you can probably use a conditional step that checks which event triggered that run. For example:
And then something similar for the schedule event.
I thought of doing it in a similar way! :D But it didn't work yet. I will revisit this next week.