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: streamline ready-for-e2e label check for PRs #15545

Merged
merged 10 commits into from
Jun 23, 2024
Merged

Conversation

keithwillcode
Copy link
Contributor

@keithwillcode keithwillcode commented Jun 23, 2024

Using the pull_request object to get the labels when available instead of always calling the GitHub API.

Copy link

vercel bot commented Jun 23, 2024

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

3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ai ⬜️ Ignored (Inspect) Visit Preview Jun 23, 2024 3:04pm
cal ⬜️ Ignored (Inspect) Visit Preview Jun 23, 2024 3:04pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Jun 23, 2024 3:04pm

Copy link
Contributor

github-actions bot commented Jun 23, 2024

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@keithwillcode keithwillcode marked this pull request as ready for review June 23, 2024 15:02
@graphite-app graphite-app bot requested a review from a team June 23, 2024 15:02
@dosubot dosubot bot added the ci area: CI, DX, pipeline, github actions label Jun 23, 2024
Copy link

graphite-app bot commented Jun 23, 2024

Graphite Automations

"Add foundation team as reviewer" took an action on this PR • (06/23/24)

1 reviewer was added to this PR based on Keith Williams's automation.

@keithwillcode keithwillcode changed the title fix: streamline ci chore: streamline ready-for-e2e label check for PRs Jun 23, 2024
@@ -41,71 +41,75 @@ jobs:
name: Check for E2E label
outputs:
run-e2e: ${{ steps.check-if-pr-has-label.outputs.run-e2e == 'true' && (github.event.action != 'labeled' || (github.event.action == 'labeled' && github.event.label.name == 'ready-for-e2e')) }}
run-jobs: ${{ github.event.action != 'labeled' }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This boolean condition was not accurate and causing issues running the other jobs

@PeerRich PeerRich added this pull request to the merge queue Jun 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 23, 2024
@keithwillcode keithwillcode added this pull request to the merge queue Jun 23, 2024
Merged via the queue into main with commit 47a8ba1 Jun 23, 2024
39 checks passed
@keithwillcode keithwillcode deleted the fix/streamline-ci branch June 23, 2024 15:54
p6l-richard pushed a commit to p6l-richard/cal.com-fork that referenced this pull request Jul 22, 2024
* Added a log for pull_request

* Added labels logging

* Using labels straight from event PR object

* Converting to JSON

* Switching to use payload

* Fixed issue with undefined pr

* Fixed non-mapping issue

* Removed the types

* Removed issue with run-jobs

* Put back the types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci area: CI, DX, pipeline, github actions core area: core, team members only foundation ready-for-e2e
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants