On github If I create a draft version of a prelease and the go back to publish it later it is not picked up by my workflow.
name: Prelease bug on: release: types: [prereleased] jobs: job_1: name: Test runs-on: ubuntu-latest steps: - run: echo "hello"
Steps to reproduce:
1. Go to https://github.com/<username>/<repo>/releases/new
2. Fill out release details and tick the “This is a pre-release” checkbox
3. Click “Save draft”
4. Navigate to the releases tab on gibhub to see your drafted release and click “edit”
5. Click “Publish release”
My workflow does not run
What I expect to happen:
My workflow to run
This happens when the “This is a pre-release” checkbox is ticked before a draft is saved. If I create a draft without ticking the box and then come back to the draft to publish and tick the box then all is fine and my workflow runs