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

feat(setup): update netifly to v16 #2421

Merged
merged 3 commits into from
Jan 30, 2024
Merged

Conversation

b1aserlu
Copy link
Contributor

@b1aserlu b1aserlu commented Dec 19, 2023

image

I think if we update our deploy-to-netifly action to use a filter with a package name we pass to this action then using netifly v16 would be no Problem.
However @oliverschuerch and myself @b1aserlu failed to come up with a way to properly test this. As for some reason the deploy worklfows are only triggered from main and not as expected from the current branch.

@b1aserlu b1aserlu linked an issue Dec 19, 2023 that may be closed by this pull request
Copy link

changeset-bot bot commented Dec 19, 2023

⚠️ No Changeset found

Latest commit: 1ab12cd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@swisspost-bot
Copy link
Contributor

swisspost-bot commented Dec 19, 2023

Preview environment ready: https://preview-2421--swisspost-design-system-next.netlify.app

Revert "setup a way to test my worklfow action"

This reverts commit afaf0c5.

setup a way to test my worklfow action

changes deploy worklfow for testing purpose

Checkout head

try again

tries to use actions from current branch

another one

additional commit to maybe trigger moified action

updates netifly in deploy action exptected to fail
@b1aserlu b1aserlu force-pushed the 1796-update-netlify-cli-to-v16 branch from bde7c39 to e523382 Compare December 19, 2023 13:15
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@b1aserlu b1aserlu requested a review from gfellerph January 16, 2024 10:22
@gfellerph
Copy link
Member

@b1aserlu, @oliverschuerch the fact that deploy workflows are run from main is a security feature. This allows us to not use the github secrets for feature branches or pull requests from forks where they could potentially be stolen.

Therefore, the only way to test this, is on main. Not ideal, but secure.

@b1aserlu b1aserlu marked this pull request as ready for review January 30, 2024 11:12
@b1aserlu b1aserlu requested a review from a team as a code owner January 30, 2024 11:12
@b1aserlu b1aserlu requested a review from alizedebray January 30, 2024 11:12
@b1aserlu b1aserlu merged commit 8bd027c into main Jan 30, 2024
4 checks passed
@b1aserlu b1aserlu deleted the 1796-update-netlify-cli-to-v16 branch January 30, 2024 11:14
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.

Update netlify-cli to v16
3 participants