Skip to content

chore: add unit tests on ci for Windows #7539

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

Open
wants to merge 2 commits into
base: build/v2
Choose a base branch
from

Conversation

Varixo
Copy link
Member

@Varixo Varixo commented Apr 25, 2025

No description provided.

@Varixo Varixo self-assigned this Apr 25, 2025
Copy link

changeset-bot bot commented Apr 25, 2025

🦋 Changeset detected

Latest commit: 8f4449f

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Varixo Varixo marked this pull request as ready for review April 25, 2025 08:35
@Varixo Varixo requested a review from a team as a code owner April 25, 2025 08:35
wmertens
wmertens previously approved these changes Apr 25, 2025
Copy link
Member

@wmertens wmertens left a comment

Choose a reason for hiding this comment

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

LGTM

gioboa
gioboa previously approved these changes Apr 25, 2025
Copy link
Contributor

github-actions bot commented Apr 25, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview 942bdc5

@Varixo Varixo dismissed stale reviews from gioboa and wmertens via 942bdc5 April 25, 2025 08:51
@Varixo Varixo force-pushed the add-unit-tests-on-ci-for-windows branch from 353df24 to 942bdc5 Compare April 25, 2025 08:51
gioboa
gioboa previously approved these changes Apr 25, 2025
@Varixo Varixo force-pushed the add-unit-tests-on-ci-for-windows branch from 942bdc5 to 8f4449f Compare June 28, 2025 20:20
@Varixo Varixo requested review from a team as code owners June 28, 2025 20:20
Comment on lines 10 to 15
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
if: github.event_name == 'pull_request'
with:
workflow_id: ${{ github.event.workflow.id }}

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}

Copilot Autofix

AI 24 days ago

To fix the issue, we need to add a permissions block to the workflow. This block should specify the least privileges required for the workflow to function correctly. Based on the workflow's purpose (canceling workflow runs), it likely only needs read access to repository contents and workflows. We will add the permissions block at the root level of the workflow to apply it to all jobs.

Suggested changeset 1
.github/workflows/cancel.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml
--- a/.github/workflows/cancel.yml
+++ b/.github/workflows/cancel.yml
@@ -2,2 +2,5 @@
 name: Cancel
+permissions:
+  contents: read
+  workflows: read
 on:
EOF
@@ -2,2 +2,5 @@
name: Cancel
permissions:
contents: read
workflows: read
on:
Copilot is powered by AI and may make mistakes. Always verify output.
@Varixo Varixo changed the base branch from main to build/v2 June 28, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

3 participants