Only tag for scheduled jobs not working.
Setup a scheduled pipeline and is meant to run once a day. It is only meant to be run by this scheduled pipeline but the job was running on pushes. I could be misunderstanding how this works but I set this up following the guide here: https://docs.gitlab.com/ce/user/project/pipelines/schedules.html#using-only-and-except
- Setup a repo with a
.gitlab-ci.ymlfile and runners for CI/CD.
- In there specify a job that is meant to only run on by scheduled jobs.
job: only: - master - schedules script: - echo "Only run with scheduled jobs."
- Push that to master.
- On subsequent pushes this job will still run.