Closed thehatkid closed 2 years ago
Nevermind..
Yes, Actions can't write repo contents such as releases and tags if from PR.
Release should not be triggering on pull request
Release should not be triggering on pull request
Hmmm, so, the solution here would be.. splitting jobs in two separate workflow files? One is for build, which is triggered on everything and one which is triggered on push-to-master?
I tried that and it didn't work very well
I tried that and it didn't work very well
Just maybe set trigger on workflow complete?
on:
workflow_run:
workflows: [ModShot CI]
types:
- completed
That is basically what I did
Release should not be triggering on pull request
Now it doesn't triggers release jobs if event is pull request.
Sounds good
Are you finished with the pr?
Yes I think, it builds and pre-releases on push and releases on tag creation
Nevermind.. https://github.com/marvinpinto/actions/issues/61