Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: Add lock discussion workflow #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Al-Dani
Copy link
Member

@Al-Dani Al-Dani commented Sep 18, 2023

*Issue #, if available: AWSUI-21457

*Description of changes:
Creates shared action to lock old discussions using github Graphql API.
Requires additions in each package where we want to use it

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Al-Dani Al-Dani requested a review from a team as a code owner September 18, 2023 11:47
@Al-Dani Al-Dani requested review from taheramr and removed request for a team September 18, 2023 11:47
let cursor = null
while (readDiscussions) {
const {repository} = await graphqlWithAuth(`
query testQuery ($owner: String!, $repo: String!, $lastId: String) {
Copy link
Member

Choose a reason for hiding this comment

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

minor: Should this query be renamed to something else?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants