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

[Lexical] Attempt to fix after approval workflow #6153

Merged
merged 4 commits into from
May 23, 2024
Merged

[Lexical] Attempt to fix after approval workflow #6153

merged 4 commits into from
May 23, 2024

Conversation

Sahejkm
Copy link
Contributor

@Sahejkm Sahejkm commented May 21, 2024

using my fine grain access PAT to trigger the workflow for add label

  • it only has read/write access to PR and
  • read access to content

Test Plan

TODO

  • will replace my PAT with lexical-bot PAT once setup is done

Copy link

vercel bot commented May 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2024 2:44pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2024 2:44pm

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 21, 2024
Copy link
Contributor Author

@Sahejkm Sahejkm left a comment

Choose a reason for hiding this comment

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

test review

@github-actions github-actions bot added the extended-tests Run extended e2e tests on a PR label May 21, 2024
Copy link

github-actions bot commented May 21, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/lexical/dist/Lexical.js 23.93 KB (0%) 479 ms (0%) 26 ms (+0.14% 🔺) 505 ms
packages/lexical-rich-text/dist/LexicalRichText.js 34.59 KB (0%) 692 ms (0%) 84 ms (-7.29% 🔽) 776 ms
packages/lexical-plain-text/dist/LexicalPlainText.js 34.59 KB (0%) 692 ms (0%) 158 ms (+81.6% 🔺) 850 ms

@Sahejkm Sahejkm removed the extended-tests Run extended e2e tests on a PR label May 21, 2024
@Sahejkm Sahejkm marked this pull request as ready for review May 21, 2024 03:03
@ivailop7 ivailop7 changed the title [Lexicl] Attempt to fix after approval workflow [Lexical] Attempt to fix after approval workflow May 21, 2024
@necolas
Copy link
Contributor

necolas commented May 21, 2024

Why did leaving a review (not approval) add the extended-tests label?

Copy link
Member

@zpao zpao left a comment

Choose a reason for hiding this comment

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

You linked to another repo and they're using the first-party actions/labeler action. I'd consider doing the same. It has some good notes on permissions which are helpful. https://github.com/actions/labeler?tab=readme-ov-file#permissions

.github/workflows/after-approval.yml Show resolved Hide resolved
.github/workflows/after-approval.yml Outdated Show resolved Hide resolved
@Sahejkm
Copy link
Contributor Author

Sahejkm commented May 22, 2024

Why did leaving a review (not approval) add the extended-tests label?

That was done to test the changes only in draft mode, after publishing it's not doing this , I removed the label after testing was done.

@Sahejkm
Copy link
Contributor Author

Sahejkm commented May 22, 2024

I am thinking of exploring the custom GitHub bot for fixing the problem we are facing with permissions as it would have the required permissions in this case as we want to trigger the add label event on approval and pull_request_target doesn't help us with this.

@Sahejkm Sahejkm added the extended-tests Run extended e2e tests on a PR label May 23, 2024
@Sahejkm Sahejkm added this pull request to the merge queue May 23, 2024
Merged via the queue into main with commit 5351e8e May 23, 2024
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. extended-tests Run extended e2e tests on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants