Skip to content
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

#1107 Create issue-update-reminder.yml #1187

Closed
wants to merge 13 commits into from
Closed

Conversation

davidwiese
Copy link
Member

Fixes #1107

  • Runs on a daily schedule at midnight (0 0 * * *)
  • Retrieves all open issues in the repository that have an assignee
  • For each issue, it checks if the last comment time is more than 8 days ago (daysInactive variable)
  • If an issue has been inactive for more than 8 days, it adds the label Status: Update Requested to the issue
  • It then creates a comment on the issue, mentioning the assignees and providing the updated instructions for adding an update

dependabot bot and others added 11 commits February 4, 2024 00:20
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](npm/node-semver@v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.5 to 7.23.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.9/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](salesforce/tough-cookie@v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
…cts/statement-generator/semver-6.3.1

Bump semver from 6.3.0 to 6.3.1 in /products/statement-generator
…cts/statement-generator/tough-cookie-4.1.3

Bump tough-cookie from 4.1.2 to 4.1.3 in /products/statement-generator
…cts/statement-generator/babel/traverse-7.23.9

Bump @babel/traverse from 7.20.5 to 7.23.9 in /products/statement-generator
- Runs on a daily schedule at midnight (0 0 * * *)
- Retrieves all open issues in the repository that have an assignee
- For each issue, it checks if the last comment time is more than 8 days ago (daysInactive variable)
- If an issue has been inactive for more than 8 days, it adds the label Status: Update Requested to the issue
- It then creates a comment on the issue, mentioning the assignees and providing the updated instructions for adding an update
@davidwiese davidwiese added the ready for dev lead task ready for dev lead to evaluate label Mar 6, 2024
@davidwiese davidwiese changed the title Create issue-update-reminder.yml #1107 Create issue-update-reminder.yml Mar 7, 2024
@sydneywalcoff
Copy link
Member

@davidwiese this looks great, but I realized that it will affect the whole EA team so I'm seeing if other teams would like this action too.

If it's just us, are you able to filter for role: development issues?

@davidwiese
Copy link
Member Author

@davidwiese this looks great, but I realized that it will affect the whole EA team so I'm seeing if other teams would like this action too.

If it's just us, are you able to filter for role: development issues?

@sydneywalcoff All set, it should only apply to issues with the development role now

@davidwiese davidwiese changed the base branch from main to dev March 8, 2024 02:06
Copy link
Member

@sydneywalcoff sydneywalcoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davidwiese can we have it only comment on issues that don't have the 'feature: agenda' label? Last thing, I swear. I'm hoping to get rid of 'evergreen' issues that don't close, but I don't see the agenda changing anytime soon.

Also I noticed that there are unrelated commits in the PR. Looks like it has to do with the dependabot updates. It'll probably be easiest to copy your work over to a new branch. I'm attaching some instructions to prevent it from happening again. Git is the worst lol

Process

  • checkout to dev
  • pull down changes
  • run npm i
  • create new branch and continue per normal

@sydneywalcoff sydneywalcoff removed the ready for dev lead task ready for dev lead to evaluate label Mar 8, 2024
@davidwiese davidwiese closed this Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add GHA that nudges issue assignee for update
2 participants