Skip to content

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:

@netlify
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.

@netlify
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

}

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.

- '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