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

chore(clients): add workflow to auto-close PR #3834

Merged
merged 6 commits into from
Sep 26, 2024

Conversation

shortcuts
Copy link
Member

🧭 What and Why

🎟 JIRA Ticket: https://algolia.atlassian.net/browse/DI-2970

Changes included:

heavily inspired by https://github.com/algolia/doc/blob/master/.github/workflows/dont-edit-apis.yml, we can kindly ask the user to redirect their contributions to the automation repository, or ask them to open an issue if they don't want to.

@shortcuts shortcuts self-assigned this Sep 25, 2024
@shortcuts shortcuts requested a review from a team as a code owner September 25, 2024 13:59
@algolia-bot
Copy link
Collaborator

algolia-bot commented Sep 25, 2024

✔️ Code generated!

Name Link
🪓 Triggered by 9decd3f11da7bced0fee0492e27343687420e91b
🍃 Generated commit 506b1a7d6adaeb9af2ff3c0f334063f8e142735d
🌲 Generated branch generated/chore/auto-close-contribution
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
javascript 1648
go 1627
php 1379
csharp 1289
java 1106
python 1010
ruby 907
swift 763

Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

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

nice

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
Copy link
Collaborator

@millotp millotp Sep 25, 2024

Choose a reason for hiding this comment

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

you need to check that the PR is targeting main, because it's possible to do bug fixes on older version

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

oh sorry I missed that

@shortcuts shortcuts requested a review from millotp September 25, 2024 14:17
@kai687
Copy link
Contributor

kai687 commented Sep 25, 2024

Greatest achievement of my life. Someone was inspired by something I did 🤣.

@shortcuts
Copy link
Member Author

Greatest achievement of my life. Someone was inspired by something I did 🤣.

<3

@shortcuts shortcuts requested a review from millotp September 26, 2024 12:10
@shortcuts shortcuts enabled auto-merge (squash) September 26, 2024 15:32
Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

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

beautiful

@shortcuts shortcuts merged commit 7884835 into main Sep 26, 2024
28 checks passed
@shortcuts shortcuts deleted the chore/auto-close-contribution branch September 26, 2024 15:48
algolia-bot added a commit that referenced this pull request Sep 26, 2024
…ip ci]

Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
algolia-bot added a commit to algolia/algoliasearch-client-csharp that referenced this pull request Sep 26, 2024
algolia/api-clients-automation#3834

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
algolia-bot added a commit to algolia/algoliasearch-client-dart that referenced this pull request Sep 26, 2024
algolia/api-clients-automation#3834

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
algolia-bot added a commit to algolia/algoliasearch-client-go that referenced this pull request Sep 26, 2024
algolia/api-clients-automation#3834

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
algolia-bot added a commit to algolia/algoliasearch-client-java that referenced this pull request Sep 26, 2024
algolia/api-clients-automation#3834

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
algolia-bot added a commit to algolia/algoliasearch-client-javascript that referenced this pull request Sep 26, 2024
algolia/api-clients-automation#3834

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
algolia-bot added a commit to algolia/algoliasearch-client-kotlin that referenced this pull request Sep 26, 2024
algolia/api-clients-automation#3834

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
algolia-bot added a commit to algolia/algoliasearch-client-php that referenced this pull request Sep 26, 2024
algolia/api-clients-automation#3834

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
algolia-bot added a commit to algolia/algoliasearch-client-python that referenced this pull request Sep 26, 2024
algolia/api-clients-automation#3834

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
algolia-bot added a commit to algolia/algoliasearch-client-ruby that referenced this pull request Sep 26, 2024
algolia/api-clients-automation#3834

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
algolia-bot added a commit to algolia/algoliasearch-client-scala that referenced this pull request Sep 26, 2024
algolia/api-clients-automation#3834

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
algolia-bot added a commit to algolia/algoliasearch-client-swift that referenced this pull request Sep 26, 2024
algolia/api-clients-automation#3834

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
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.

4 participants