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

Auto deadline and taken #15

Merged
merged 9 commits into from
Jul 21, 2023
Merged

Auto deadline and taken #15

merged 9 commits into from
Jul 21, 2023

Conversation

annndruha
Copy link
Member

@annndruha annndruha commented Jul 19, 2023

Добавил авто-установление дедлайна и авто-установление даты взятия issue в работу

Код получился чуть громоздким.
Кстати из-за этой "крутой" обёртки для запроса github.request_gql половину строк занимают вызовы этих запросов.

⚠️ Код проверял со своим user-токеном. Не могу удостоверится что:

  • События assigned приходят (проверь имя параметра, assign или assigned)
  • Что у jwt токена есть права на изменения полей в projectItem

@dyakovri dyakovri self-requested a review July 20, 2023 09:24
Copy link
Member

@dyakovri dyakovri left a comment

Choose a reason for hiding this comment

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

Не совсем понял, почему в гитхаб улетает аж 4 запроса на изменение и почему они все 4 выглядят однаково. Сами вызванные события кинул в личку

На инструкцию по тестированию создал ишью #16

@annndruha annndruha merged commit ec8f492 into main Jul 21, 2023
@annndruha annndruha deleted the AutoDeadline branch July 21, 2023 11:01
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.

2 participants