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

ci: indent and branch #2883

Merged
merged 3 commits into from
Jan 10, 2025
Merged

ci: indent and branch #2883

merged 3 commits into from
Jan 10, 2025

Conversation

jotolo
Copy link
Contributor

@jotolo jotolo commented Jan 10, 2025

Discussion

#2506

Description

  • Return actions in the storeToRefs method
  • Fixes branches declaration for github actions workflows

This pull request includes several changes to configuration and code files, focusing on workflow updates and a modification to the storeToRefs function in the pinia package.

Workflow configuration updates:

Code modification:

Copy link

netlify bot commented Jan 10, 2025

Deploy Preview for pinia-playground ready!

Name Link
🔨 Latest commit 2a08dbc
🔍 Latest deploy log https://app.netlify.com/sites/pinia-playground/deploys/67813f2d84e4220008cd7775
😎 Deploy Preview https://deploy-preview-2883--pinia-playground.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 10, 2025

Deploy Preview for pinia-official canceled.

Name Link
🔨 Latest commit 2a08dbc
🔍 Latest deploy log https://app.netlify.com/sites/pinia-official/deploys/67813f2d6272c20008c8d78c

@@ -120,6 +120,6 @@ export function storeToRefs<SS extends StoreGeneric>(
}
}

return refs
return { ...store.actions, ...refs }
Copy link
Member

Choose a reason for hiding this comment

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

Thanks but this is intended

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I know I know. This is just an example for the debate @posva . This is what I mentioned it would be an idea to change.

@@ -6,7 +6,7 @@ on:
- 'packages/docs/**'
- 'packages/playground/**'
pull_request:
branches: v2
branches: [v2]
Copy link
Member

Choose a reason for hiding this comment

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

Why?

Copy link
Contributor Author

@jotolo jotolo Jan 10, 2025

Choose a reason for hiding this comment

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

https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore

This branch key is an Array. If defined in one line the Array structure should be provided.

Copy link
Member

Choose a reason for hiding this comment

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

Are you sure? It seems to work just fine

@jotolo jotolo requested a review from posva January 10, 2025 14:52
@posva posva merged commit 40d883d into vuejs:v2 Jan 10, 2025
4 checks passed
@posva posva changed the title feature/store-to-refs-actions ci: indent and branch Jan 10, 2025
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.

2 participants