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

fix(scripts): do not run notifications on forks #3295

Merged
merged 3 commits into from
Jul 1, 2024

Conversation

shortcuts
Copy link
Member

@shortcuts shortcuts commented Jul 1, 2024

🧭 What and Why

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

Changes included:

gave an unsuccessful try on #3293 at running the notifications steps on forks, tldr it's not possible without leaking secrets, so for now we will just skip the message

also gave a shot at https://github.com/marocchino/sticky-pull-request-comment which removes a lot of custom logic

@shortcuts shortcuts self-assigned this Jul 1, 2024
Copy link

github-actions bot commented Jul 1, 2024

✔️ Code generated!

Name Link
🔨 Triggered by 34ca7b0c43b22d74ef8fbbf3584e07a39f216bbf
🌲 Generated branch generated/fix/scripts-notifications

Copy link

github-actions bot commented Jul 1, 2024

@shortcuts shortcuts marked this pull request as ready for review July 1, 2024 10:31
@shortcuts shortcuts requested a review from a team as a code owner July 1, 2024 10:31
@@ -419,6 +440,17 @@ jobs:
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }}
PR_NUMBER: ${{ github.event.number }}

- name: update generation commend
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- name: update generation commend
- name: update generation comment

@shortcuts shortcuts merged commit cd6bb82 into main Jul 1, 2024
19 checks passed
@shortcuts shortcuts deleted the fix/scripts-notifications branch July 1, 2024 11:52
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