I have a simple workflow that calls a reusable workflow to build a container image. In my case the job won't start as scheduled at all. I know the trigger schedule will only work from the master branch on the repo executing the workflow and we have indeed both caller workflow and reusable workflow in the master/default branch.
name: build image
on:
push:
branches: [ 'master' ]
pull_request:
schedule:
- cron: "0 8 * * 1-5"
jobs:
build_container_dateTag:
uses: MyOrganizationName/my-workflows/.github/workflows/workflow-build.yaml@master
with:
staticTag: true
ImageName: 'myimage'
ImageTag: 'mytag'
Just wondering if someone has had the same experience. The job was working fine previously without the reusable workflow and all container build steps within this workflow and it works fine on push to master.
We are running on GHES 3.4.7
Update to this problem. An update to GHES 3.5.6 fixed it. I had to remove and re-add my workflow from the default branch though