-
-
Notifications
You must be signed in to change notification settings - Fork 844
Install workflow: Add Update Label Weekly #8436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: gh-pages
Are you sure you want to change the base?
Install workflow: Add Update Label Weekly #8436
Conversation
|
@hfla-workflow-rollout[bot], this Pull Request is not linked to a valid issue. Above, on the first line of your PR, please link the number of the issue that you worked on using the format of 'Fixes #' + issue number, for example: Fixes #9876 Note: Do not use the number of this PR. |
|
Want to review this pull request? Take a look at this documentation for a step by step guide! From your project repository, check out a new branch and test the changes. |
This comment was marked as duplicate.
This comment was marked as duplicate.
moved label-directory.json to correct foler
This comment was marked as duplicate.
This comment was marked as duplicate.
2 similar comments
This comment was marked as duplicate.
This comment was marked as duplicate.
|
@hfla-workflow-rollout[bot], this Pull Request is not linked to a valid issue. Above, on the first line of your PR, please link the number of the issue that you worked on using the format of 'Fixes #' + issue number, for example: Fixes #9876 Note: Do not use the number of this PR. |
|
@hfla-workflow-rollout[bot], this Pull Request is not linked to a valid issue. Above, on the first line of your PR, please link the number of the issue that you worked on using the format of 'Fixes #' + issue number, for example: Fixes #9876 Note: Do not use the number of this PR. |
|
@t-will-gillis I tested this in my repo and it seems to be working as intended. On the normal run it correctly added the 2 weeks inactive label to two of my issues and left comments. Then on the subsequent dry run it recognized that there were new comments and would have removed the label (in this case it was the automatically generated comments from the previous run, but in practice these would not be left by the assignee). |
DO NOT MERGE
Automated Workflow Setup
This PR adds the "Add Update Label Weekly" GitHub Actions workflow to your project.
Files installed by this PR
.github/workflows/add-update-label-weekly.ymlgithub-actions/workflow-configs/add-update-label-weekly-config.ymlgithub-actions/workflow-configs/templates/add-update-instructions-template.mdAdditional required file (if not already installed)
The following file is shared among the centralized GitHub Actions, and only needs to be
installed once. If the file does not exist in the repo, it will be generated and included with
the PR. It will be skipped if previously installed.
github-actions/workflow-configs/_data/label-directory.jsonWhat this workflow does
Monitors open, assigned issues with the default status "In progress (actively working)"
Security
Configuration required
Review configurations in the files shown, and note especially the explanations in the files themselves:
github-actions/workflows/add-update-label-weekly.ymlif: github.repository == 'hackforla/repo-name'at ⓶uses: hackforla/automate-the-org/add-update-label-weekly@v0at ⓷github-actions/workflow-configs/add-update-label-weekly-config.ymltimeframes:,projectBoard:column-status names, and therequired:andignored:labels.<teamSlackChannel>github-actions/workflow-configs/templates/add-update-instructions-template.mdgithub-actions/workflow-configs/_data/label-directory.jsonlabel-directory.jsonfile maps thesekeys:keysneeded by automation:statusUpdated--> "status: Updated" (confirm)statusInactive1--> "status: To Update !" (confirm)statusInactive2--> "status: 2 Weeks Inactive" (confirm)keyused in message template:keyswhich tell the automation to skip the issue:keys, add or remove as needed:draft--> "draft"er--> "er"epic--> "epic"dependency--> "Dependency"complexity0--> "Complexity: Prework"Test in dry-run mode
dry-run= trueLive mode
dry-run= false if needed.Auto-generated by Rollout Workflow to Project(s) workflow.
Notes to PR reviewers:
Before reviewing this PR, you will need to have a Project Board set up in your environment.
Make the following changes to these files:
add-update-label-weekly.yml:github.repositoryat ⓶ to your repo@v0.5.3github-tokenwith:label-directory.jsonTest logs for the DRY-RUN
Test logs for the primary run
Soon: Will also add a link to "Automate the ORG" for the PR release for "v1.0.0"...