Skip to content

Update pr_checks.yml#360

Merged
Dargon789 merged 1 commit intomainfrom
Dargon789-patch-3
May 19, 2025
Merged

Update pr_checks.yml#360
Dargon789 merged 1 commit intomainfrom
Dargon789-patch-3

Conversation

@Dargon789
Copy link
Copy Markdown
Owner

@Dargon789 Dargon789 commented May 19, 2025

Description

Please include a brief summary of the change.

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Associated Issues

For Linear issues: Closes APKT-xxx
For GH issues: closes #...

Showcase (Optional)

If there is a UI change include the screenshots with before and after state.
If new feature is being introduced, include the link to demo recording.

Checklist

  • Code in this PR is covered by automated tests (Unit tests, E2E tests)
  • My changes generate no new warnings
  • I have reviewed my own code
  • I have filled out all required sections
  • I have tested my changes on the preview link
  • Approver of this PR confirms that the changes are tested on the preview link

Summary by Sourcery

Streamline PR checks workflow to focus solely on pull requests, remove branch push triggers and redundant event conditionals, and drop the Turborepo cache step.

Enhancements:

  • Always run build, code style, sample apps, and test jobs regardless of event type

Build:

  • Remove the Turborepo cache action

CI:

  • Remove push event triggers and ‘if: github.event_name != 'push'’ conditions from multiple jobs

Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com>
@codesandbox
Copy link
Copy Markdown

codesandbox Bot commented May 19, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented May 19, 2025

Reviewer's Guide

This PR streamlines the pr_checks GitHub Actions workflow by removing push-based triggers, eliminating the Turborepo caching step, and simplifying conditional logic on artifact uploads and downstream jobs to ensure consistency and faster execution.

File-Level Changes

Change Details Files
Removed push event trigger
  • Deleted push: branches: main block under on
  • Dropped comments about caching priming turbocache
.github/workflows/pr_checks.yml
Eliminated Turborepo cache step
  • Removed actions/cache@v4 step and related cache key/restore-key configuration
  • Deleted explanatory comments around Turborepo build caching
.github/workflows/pr_checks.yml
Simplified artifact upload conditions
  • Removed if: github.event_name != 'push' from build artifact upload
  • Removed if: github.event_name != 'push' from node_modules upload
.github/workflows/pr_checks.yml
Unified job execution conditions
  • Removed if: github.event_name != 'push' from code_style job
  • Removed if: github.event_name != 'push' from build_sample_apps and test jobs
.github/workflows/pr_checks.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@snyk-io
Copy link
Copy Markdown

snyk-io Bot commented May 19, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

Repository owner deleted a comment from vercel Bot May 19, 2025
Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey @Dargon789 - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@Dargon789 Dargon789 merged commit 82cd120 into main May 19, 2025
15 of 26 checks passed
@Dargon789 Dargon789 deleted the Dargon789-patch-3 branch May 19, 2025 08:12
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.

1 participant