Thanks, I guess the last step is on how to combine what you propose with an already in place workflow that gets executed at push time.
For now I have:
name: Test on: [push] jobs: build: runs-on: ubuntu-latest steps: [...]
But if I change that to what you propose then my workflow is no more executed at push time.
Do you know if we can combine both manual trigger trick + usual push testing in a single or a combination of workflows maybe? Let me know!
Yes, I set just the beginning but you can adapt it for an existing workflow or a new one.
can combine both manual trigger trick + usual push testing in a single or a combination of workflows
Yes you can ! For your example it will be like that :
on: push: watch: types: [started] jobs: build: runs-on: ubuntu-latest if: github.actor == github.event.repository.owner.login steps: [...]
I din't try out yet this but I've already tried to setup a workflow with push event and cron, so it should be fine !
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks, I guess the last step is on how to combine what you propose with an already in place workflow that gets executed at push time.
For now I have:
But if I change that to what you propose then my workflow is no more executed at push time.
Do you know if we can combine both manual trigger trick + usual push testing in a single or a combination of workflows maybe? Let me know!
Yes, I set just the beginning but you can adapt it for an existing workflow or a new one.
Yes you can !
For your example it will be like that :
I din't try out yet this but I've already tried to setup a workflow with push event and cron, so it should be fine !