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

Build(deps): bump netlify from 6.1.29 to 13.1.14 #1153

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 10, 2024

Bumps netlify from 6.1.29 to 13.1.14.

Release notes

Sourced from netlify's releases.

netlify: v13.1.14

13.1.14 (2024-01-31)

Bug Fixes

  • deps: update dependency @​netlify/open-api to ^2.28.0 (#5484) (2be0116)

netlify: v13.1.13

13.1.13 (2024-01-18)

Bug Fixes

  • deps: update dependency @​netlify/open-api to ^2.26.1 (#5470) (8aefe9a)

netlify: v13.1.12

13.1.12 (2024-01-08)

Bug Fixes

netlify: v13.1.11

13.1.11 (2023-11-14)

Bug Fixes

  • deps: update dependency @​netlify/open-api to ^2.26.0 (#5226) (4b5b37d)

netlify-headers-parser: v7.1.4

7.1.4 (2024-02-12)

Bug Fixes

netlify-headers-parser: v7.1.3

7.1.3 (2024-01-08)

Bug Fixes

Changelog

Sourced from netlify's changelog.

13.1.14 (2024-01-31)

Bug Fixes

  • deps: update dependency @​netlify/open-api to ^2.28.0 (#5484) (2be0116)

13.1.13 (2024-01-18)

Bug Fixes

  • deps: update dependency @​netlify/open-api to ^2.26.1 (#5470) (8aefe9a)

13.1.12 (2024-01-08)

Bug Fixes

13.1.11 (2023-11-14)

Bug Fixes

  • deps: update dependency @​netlify/open-api to ^2.26.0 (#5226) (4b5b37d)

13.1.10 (2023-07-12)

Bug Fixes

  • deps: update dependency @​netlify/open-api to ^2.19.1 (#5161) (06f1a91)

13.1.9 (2023-06-09)

Bug Fixes

  • deps: update dependency uuid to v9 (83c6ce9)

13.1.8 (2023-06-09)

Bug Fixes

  • deps: update dependency @​netlify/open-api to ^2.19.0 (#5063) (5ef9a76)

13.1.7 (2023-05-16)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [netlify](https://github.com/netlify/build/tree/HEAD/packages/js-client) from 6.1.29 to 13.1.14.
- [Release notes](https://github.com/netlify/build/releases)
- [Changelog](https://github.com/netlify/build/blob/main/packages/js-client/CHANGELOG.md)
- [Commits](https://github.com/netlify/build/commits/netlify-v13.1.14/packages/js-client)

---
updated-dependencies:
- dependency-name: netlify
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 10, 2024
@dependabot dependabot bot requested a review from nwtgck March 10, 2024 19:51
Copy link
Contributor

@github-actions github-actions bot temporarily deployed to commit March 10, 2024 19:51 Inactive
@github-actions github-actions bot temporarily deployed to pull request March 10, 2024 19:51 Inactive
@nwtgck
Copy link
Owner

nwtgck commented Mar 11, 2024

@github-actions run

🔨 Build & Push
// Get pull-req URL like "https://api.github.com/repos/nwtgck/actions-merge-preview/pulls/4"
const pullReqUrl = context.payload.issue.pull_request.url;
const githubUser = context.payload.repository.owner.login;
const res = await fetch(pullReqUrl, {
  headers: [
    ['Authorization', `Basic ${Buffer.from(`${githubUser}:${githubToken}`).toString('base64')}`]
  ]
});
const resJson = await res.json();
const prUserName = resJson.head.user.login;
const baseBranchName = resJson.base.ref;
const branchName = resJson.head.ref;
const fullRepoName = resJson.head.repo.full_name;
const buildBranch = `actions-build/${prUserName}-${branchName}`;
execSync(`git config --global user.email "github-actions[bot]@users.noreply.github.com"`);
execSync(`git config --global user.name "github-actions[bot]"`);
// (from: https://stackoverflow.com/a/23987039/2885946)
execSync(`git fetch --all`);
console.log(execSync(`git checkout ${baseBranchName}`).toString());
console.log(execSync(`git checkout -b ${buildBranch} ${baseBranchName}`).toString());
console.log(execSync(`git pull https://github.com/${fullRepoName}.git ${branchName}`).toString());
console.log(execSync(`npm ci`).toString());
console.log(execSync(`npm run all`).toString());
if (execSync('git status --porcelain').length === 0) {
  const commentBody = `\
Built file is up to date.
`;
  // Comment the deploy URL
  await postComment(commentBody);
} else {
  console.log(execSync(`git add .; git commit -m 'build'`).toString());
  // Push preview branch
  // NOTE: Force push (should be safe because preview branch always start with "actions-build/")
  execSync(`git push -fu origin ${buildBranch}`);
  const baseRepoFullName = context.payload.repository.full_name;
  // Comment body
  const commentBody = `\
Built branch:  <https://github.com/${baseRepoFullName}/tree/${buildBranch}>  
Compare: https://github.com/${baseRepoFullName}/compare/${resJson.base.ref}...${buildBranch}
`;
  // Comment the deploy URL
  await postComment(commentBody);
}

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 25, 2024

Superseded by #1162.

@dependabot dependabot bot closed this Apr 25, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/netlify-13.1.14 branch April 25, 2024 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant