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

1176 Monthly roster action #1349

Merged
merged 6 commits into from May 4, 2024
Merged

1176 Monthly roster action #1349

merged 6 commits into from May 4, 2024

Conversation

hasham-qaiser
Copy link
Member

closes: #1176

Changes Made:

Adds a new github action to duplicate issue #1065 monthly.

Reason for changes:

To automatically duplicate the issue so that stale issues don't clog up the project board.

@sydneywalcoff sydneywalcoff added the ready for dev lead task ready for dev lead to evaluate label Apr 24, 2024
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.

@hasham-qaiser Thanks for doing this! The resulting issues come out great! I had just one small cleanup request below and then we can get this merged. The PM team will be excited to hear.

Comment on lines 39 to 53
// Add the new issue to the same project as the original issue
if (issue.data.project_url) {
const projectId = issue.data.project_url.split('/').pop();
const project = await github.rest.projects.get({
project_id: projectId
});
const projectNumber = project.data.number;

await github.rest.issues.addToProject({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: newIssue.data.number,
project_id: projectNumber
});
}
Copy link
Member

Choose a reason for hiding this comment

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

Since the project lines aren't working right now, lets remove them.

@sydneywalcoff sydneywalcoff removed the ready for dev lead task ready for dev lead to evaluate label May 1, 2024
@hasham-qaiser hasham-qaiser added the ready for dev lead task ready for dev lead to evaluate label May 2, 2024
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.

@hasham-qaiser looks great!

@sydneywalcoff sydneywalcoff merged commit e112edb into dev May 4, 2024
1 check passed
@sydneywalcoff sydneywalcoff deleted the 1176-roster-action branch May 4, 2024 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for dev lead task ready for dev lead to evaluate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants