Skip to content

Beta.2#12

Merged
baxyz merged 4 commits intomainfrom
beta
Apr 24, 2026
Merged

Beta.2#12
baxyz merged 4 commits intomainfrom
beta

Conversation

@baxyz
Copy link
Copy Markdown
Contributor

@baxyz baxyz commented Apr 22, 2026

Description

Please include a summary of what this PR does and why it's needed.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring
  • Test improvement

Related Issues

Closes #(issue number)

How Has This Been Tested?

Describe the tests you ran and how to reproduce them:

  • Test A
  • Test B

Checklist

  • My code follows the code style of this project
  • I have updated the documentation accordingly
  • I have added tests for my changes
  • All new and existing tests passed locally
  • My commits follow the conventional commit format

Screenshots (if applicable)

Add screenshots for UI changes.

Additional Context

Add any other context about the PR here.

Copilot AI review requested due to automatic review settings April 22, 2026 22:09
Comment thread .github/workflows/on-action-release.yml Fixed
Comment thread .github/workflows/on-devcontainer-release.yml Fixed
Comment thread .github/workflows/on-typescript-release.yml Fixed
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 22, 2026

Deploying helpers4 with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6b09ba1
Status: ✅  Deploy successful!
Preview URL: https://89152b2d.helpers4.pages.dev
Branch Preview URL: https://beta.helpers4.pages.dev

View logs

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 22, 2026

✅ PR Validation Passed

All checks passed!


📋 Pipeline Status

Job Status
🧾 Conventional Commits passing
🏗️ Build passing
📘 TypeCheck passing

🤖 Generated by @helpers4 CI • 2026-04-23

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the GitHub Actions release automation to generate docs on upstream releases and push the updated docs back to main, while removing the explicit Cloudflare Pages deploy step from CI.

Changes:

  • Add GitHub App token generation and use it for authenticated checkout/push to main in release-triggered workflows.
  • Replace “build & deploy” steps in the release-triggered workflows with “commit and push updated docs”.
  • Add new on-*-release.yml repository_dispatch workflows and remove the Cloudflare deploy step from deploy.yml.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 15 comments.

Show a summary per file
File Description
.github/workflows/typescript-release.yml Uses GitHub App token; generates TypeScript docs and commits/pushes them instead of deploying.
.github/workflows/devcontainer-release.yml Uses GitHub App token; generates DevContainer docs and commits/pushes them instead of deploying.
.github/workflows/action-release.yml Uses GitHub App token; generates Action docs and commits/pushes them instead of deploying.
.github/workflows/on-typescript-release.yml New repository_dispatch workflow duplicating TypeScript release handling and pushing docs to main.
.github/workflows/on-devcontainer-release.yml New repository_dispatch workflow duplicating DevContainer release handling and pushing docs to main.
.github/workflows/on-action-release.yml New repository_dispatch workflow duplicating Action release handling and pushing docs to main.
.github/workflows/deploy.yml Removes the Cloudflare Pages deploy step (workflow now builds/uploads artifacts only).
Comments suppressed due to low confidence (2)

.github/workflows/deploy.yml:87

  • The PR description is still the template and doesn’t explain a fairly impactful change (removing the Cloudflare Pages deploy step and switching release workflows to committing directly to main). Please update the PR description with rationale and the expected deployment path after this change.
        uses: actions/upload-artifact@v7
        with:
          name: dist
          path: dist/

.github/workflows/deploy.yml:87

  • This workflow is still named "Build and Deploy" but the Cloudflare Pages deploy step was removed; it now only uploads the dist/ artifact. If deployment is intentionally handled elsewhere (e.g., Cloudflare Git integration), consider renaming/adjusting the workflow to avoid confusion; otherwise reintroduce a deploy step so pushes to main actually publish updates.
        uses: actions/upload-artifact@v7
        with:
          name: dist
          path: dist/


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/typescript-release.yml Outdated
Comment thread .github/workflows/on-typescript-release.yml Outdated
Comment thread .github/workflows/on-devcontainer-release.yml Outdated
Comment thread .github/workflows/on-action-release.yml
Comment thread .github/workflows/devcontainer-release.yml Outdated
Comment thread .github/workflows/action-release.yml Outdated
Comment thread .github/workflows/on-devcontainer-release.yml
Comment thread .github/workflows/on-typescript-release.yml
Comment thread .github/workflows/on-devcontainer-release.yml
Comment thread .github/workflows/on-typescript-release.yml Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/deploy.yml
Comment thread .github/workflows/on-typescript-release.yml Outdated
Comment thread .github/workflows/on-devcontainer-release.yml Outdated
Comment thread .github/workflows/on-action-release.yml Outdated
Comment thread .github/workflows/on-typescript-release.yml
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

.github/workflows/deploy.yml:87

  • The Cloudflare Pages deployment step has been removed, so this workflow now only builds and uploads a dist artifact. If Cloudflare Pages is not configured to deploy via Git integration (or another downstream workflow), pushes to main will no longer publish the site. Consider re-adding a deploy step (e.g., wrangler pages deploy) or adding a separate deploy job that consumes the uploaded artifact.
      - name: Build all packages
        run: pnpm build:all

      - name: Upload artifacts
        uses: actions/upload-artifact@v7
        with:
          name: dist
          path: dist/


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +49 to +57
if tar -tzf /tmp/build-meta.tar.gz | grep -Eq '(^/|(^|/)\.\.(/|$))'; then
echo "Unsafe path detected in build-meta.tar.gz"
exit 1
fi
if tar -tvf /tmp/build-meta.tar.gz | awk '{print $1}' | grep -Eq '^[lh]'; then
echo "Symlink or hardlink detected in build-meta.tar.gz"
exit 1
fi
tar -xzf /tmp/build-meta.tar.gz \
Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

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

The symlink/hardlink check uses tar -tvf /tmp/build-meta.tar.gz (without -z). On ubuntu runners, tar -tf/-tvf may not reliably read a .tar.gz without -z, which can cause the check to silently miss issues (especially since the pipeline doesn’t use pipefail). Prefer using tar -tzf/tar -tzvf consistently and enabling set -o pipefail (or set -euo pipefail) for this step so failures in tar make the step fail.

Copilot uses AI. Check for mistakes.
@baxyz baxyz merged commit 4278e9b into main Apr 24, 2026
12 checks passed
@baxyz baxyz deleted the beta branch April 24, 2026 18:01
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.

3 participants