Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
GET-deployment-workshop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
GitLab.org
Professional Services Automation
Tools
Implementation
GET-deployment-workshop
Commits
4d946fd0
There was an error fetching the commit references. Please try again later.
Commit
4d946fd0
authored
1 year ago
by
Michael Leopard
Browse files
Options
Downloads
Patches
Plain Diff
Adding triage bot
parent
a1e3735e
No related branches found
No related tags found
1 merge request
!18
Adding triage bot
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+26
-0
26 additions, 0 deletions
.gitlab-ci.yml
.triage-policies.yml
+16
-0
16 additions, 0 deletions
.triage-policies.yml
with
42 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
26
−
0
View file @
4d946fd0
stages
:
-
triage
dry-run:triage
:
image
:
ruby:2.7
stage
:
triage
script
:
-
gem install gitlab-triage
-
gitlab-triage --help
-
gitlab-triage --dry-run --token $TRIAGE_TOKEN --source projects --source-id $CI_PROJECT_PATH
rules
:
-
if
:
'
$CI_COMMIT_BRANCH
==
$CI_DEFAULT_BRANCH'
changes
:
-
.triage-policies.yml
when
:
manual
-
if
:
$CI_PIPELINE_SOURCE == "schedule"
when
:
never
run:triage:triage
:
image
:
ruby:2.7
stage
:
triage
script
:
-
gem install gitlab-triage
-
gitlab-triage --token $TRIAGE_TOKEN --source-id $CI_PROJECT_PATH
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "schedule"
This diff is collapsed.
Click to expand it.
.triage-policies.yml
0 → 100644
+
16
−
0
View file @
4d946fd0
resource_rules
:
issues
:
rules
:
-
name
:
Close due to inactivity
conditions
:
date
:
attribute
:
updated_at
condition
:
older_than
interval_type
:
months
interval
:
6
state
:
opened
actions
:
status
:
close
comment
:
|
This issue has not been updated in 6 months. Closing due to inactivity.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment