image: ruby:2 stages: - triage - run dry-run:triage: stage: triage script: - gem install gitlab-triage - gitlab-triage --help - gitlab-triage --dry-run --token $API_TOKEN --source projects --source-id $CI_PROJECT_PATH when: manual except: - schedules policy:run: stage: run script: - gem install gitlab-triage - gitlab-triage --token $API_TOKEN --source projects --source-id $CI_PROJECT_PATH when: manual except: - schedules schedule:policyrun: stage: run script: - gem install gitlab-triage - gitlab-triage --token $API_TOKEN --source projects --source-id $CI_PROJECT_PATH only: - schedules