|
| 1 | +# "Add Update Label Weekly" workflow configuration file |
| 2 | +# File installed at: `github-actions/workflow-configs/add-update-label-weekly-config.yml` |
| 3 | + |
| 4 | +# ============================================================================== |
| 5 | +# IMPORTANT NOTES |
| 6 | +# ============================================================================== |
| 7 | +# |
| 8 | +# 1. The configuration options are given as "key: value" pairs. |
| 9 | +# a. Customize the "values" below for your project's needs. |
| 10 | +# b. DO NOT EDIT "keys" as this may break the automation. |
| 11 | +# c. DO NOT CHANGE indentation, spacing, or formatting for same reason. |
| 12 | +# 2. Text values must match the EXACT text used in your project repo. |
| 13 | +# 3. The default values will apply if not edited, and the workflow will attempt |
| 14 | +# to run with those defaults. It is recommended to review and edit all values. |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | +# ============================================================================== |
| 19 | +# Labels and label placeholders used by this workflow |
| 20 | +# ============================================================================== |
| 21 | +# |
| 22 | +# The `required` section is a list of label placeholder keys, identifiers used |
| 23 | +# in the workflow to reference GitHub repo labels. These placeholder label |
| 24 | +# keys are essential for the workflow to function and must be mapped to the |
| 25 | +# **actual label names** that exist in your project. Do not change the label |
| 26 | +# keys, however **do edit** the name values (in quotes) to match your project's |
| 27 | +# labels. The `required` labels are: |
| 28 | +# |
| 29 | +# statusUpdated: "label for issues considered current" |
| 30 | +# statusInactive1: "label for issues needing updates" |
| 31 | +# statusInactive2: "label for issues considered inactive" |
| 32 | +# statusHelpWanted: "label for issues where assignees need help" |
| 33 | +# |
| 34 | +# The `filtering` section is a list of labels that, when present on an issue, |
| 35 | +# tell the workflow to omit that issue from the update status checks. In other |
| 36 | +# words, if there is any issue that you want to exclude from the update checks |
| 37 | +# (for example, a draft issue), label it with one of the 'filtering' labels and |
| 38 | +# the workflow will skip the issue. |
| 39 | +# |
| 40 | +# The label names shown below are default values only. Each of the label names |
| 41 | +# shown **must exactly match an existing label** in your project repo, and must |
| 42 | +# be surrounded in quotes. Confirm that the default value is correct, or change |
| 43 | +# it to match your repo, then to show that you have reviewed and confirmed the |
| 44 | +# values, **delete the comment**. |
| 45 | + |
| 46 | +labels: |
| 47 | + required: |
| 48 | + statusUpdated: "status: Updated" |
| 49 | + statusInactive1: "status: To Update!" |
| 50 | + statusInactive2: "status: 2 Weeks Inactive" |
| 51 | + statusHelpWanted: "status: Help Wanted" |
| 52 | + |
| 53 | + filtering: |
| 54 | + - "Draft" |
| 55 | + - "ER" |
| 56 | + - "epic" |
| 57 | + - "Dependency" |
| 58 | + - "Complexity: Prework" |
| 59 | + # - "" |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | +# ============================================================================== |
| 64 | +# Time thresholds (in days) |
| 65 | +# ============================================================================== |
| 66 | +# |
| 67 | +# The time thresholds shown are used to classify issues based on the timestamp |
| 68 | +# of the assignee's last update. Adjust these values to fit your project's needs. |
| 69 | +# Note that the following values must be ordered from smallest to largest: |
| 70 | +# |
| 71 | +# recentlyUpdatedByDays: Issues updated within this many days are considered current |
| 72 | +# needsUpdatingByDays: Issues not updated for this many days are prompted for update |
| 73 | +# isInactiveByDays: Issues not updated for this many days are marked as inactive |
| 74 | +# |
| 75 | +# upperLimitDays: Bot comments older than this not processed for minimization |
| 76 | + |
| 77 | +timeframes: |
| 78 | + recentlyUpdatedByDays: 3 |
| 79 | + needsUpdatingByDays: 7 |
| 80 | + isInactiveByDays: 14 |
| 81 | + |
| 82 | + upperLimitDays: 35 |
| 83 | + |
| 84 | +# To reduce issue clutter and repetition, this workflow minimizes previous bot |
| 85 | +# comments via a GraphQL mutation. To limit GitHub GraphQL rate usage, only bot |
| 86 | +# comments created between `isInactiveByDays` and `upperLimitDays` ago are |
| 87 | +# processed. Adjust this value to include greater or fewer comments. |
| 88 | +# |
| 89 | +# Refer to "Bot configuration" below to set the bot username (if needed). |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | +# ============================================================================== |
| 94 | +# Project Board status-column configuration |
| 95 | +# ============================================================================== |
| 96 | +# |
| 97 | +# The workflow only checks issues that are in the specified `targetStatus` |
| 98 | +# status-column of your Project Board. The `questionsStatus` status-column |
| 99 | +# allows assignees to opt out of checks when they need help or review. |
| 100 | +# |
| 101 | +# Values must **exactly match your Project Board status-column names**. |
| 102 | +# |
| 103 | +# targetStatus: Required for inclusion in update checks |
| 104 | +# questionsStatus: Optional; assignees may move issues here to skip checks |
| 105 | + |
| 106 | +projectBoard: |
| 107 | + targetStatus: "In progress (actively working)" |
| 108 | + questionsStatus: "Questions / In Review" |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | +# ============================================================================== |
| 114 | +# Bot configuration- If needed |
| 115 | +# ============================================================================== |
| 116 | +# |
| 117 | +# Relevant to "timeframes.upperLimitDays" setting above, repetitive comments |
| 118 | +# from bots with the following usernames are processed for minimization. Only |
| 119 | +# if needed, this value can be updated to ensure bot comments are minimized. |
| 120 | + |
| 121 | +bots: |
| 122 | + - "github-actions[bot]" |
| 123 | + - "HackforLABot" |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | +# ============================================================================== |
| 128 | +# Bot comment template |
| 129 | +# ============================================================================== |
| 130 | +# |
| 131 | +# Template for the comment posted to issues needing updates. Ref. relevant labels, |
| 132 | +# project board status-column configuration, etc. above. See template tile: |
| 133 | +# `github-actions/workflow-configs/templates/add-update-instructions-template.md` |
| 134 | +# |
| 135 | +# Variables used by template: |
| 136 | +# ${assignees} - @-mentions of all assignees (e.g., "@user1, @user2") |
| 137 | +# ${label} - The label being applied (e.g., "Status: To Update") |
| 138 | +# ${statusUpdated} - The "updated" label name from your label directory |
| 139 | +# ${statusHelpWanted} - The "help wanted" label name from your label directory |
| 140 | +# ${questionsStatus} - The "questions" status on your Project Board (e.g., "Questions / In Review") |
| 141 | +# ${cutoffTime} - The formatted timestamp of the issue's last update |
| 142 | + |
| 143 | +teamSlackChannel: "hfla-site" # Only if needed, for example "#project-site" |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | +# ============================================================================== |
| 148 | +# Advanced options |
| 149 | +# ============================================================================== |
| 150 | +# |
| 151 | +# Local timezone for cutoffTime displayed in comments. (default: America/Los_Angeles) |
| 152 | +# Uncomment and configure only if a different timezone is needed. |
| 153 | +# |
| 154 | +# timezone: "America/Los_Angeles" |
0 commit comments