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 word-wrap from 1.2.3 to 1.2.5 #1074

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 18, 2023

Bumps word-wrap from 1.2.3 to 1.2.5.

Release notes

Sourced from word-wrap's releases.

1.2.5

Changes:

Reverts default value for options.indent to two spaces ' '.

Full Changelog: jonschlinkert/word-wrap@1.2.4...1.2.5

1.2.4

What's Changed

New Contributors

Full Changelog: jonschlinkert/word-wrap@1.2.3...1.2.4

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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 18, 2023
@dependabot dependabot bot requested a review from nwtgck August 18, 2023 16:51
@github-actions
Copy link
Contributor

github-actions bot commented Aug 18, 2023

@github-actions github-actions bot temporarily deployed to commit August 18, 2023 16:51 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 18, 2023 16:51 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/word-wrap-1.2.5 branch from 37ef285 to 7d8c9b8 Compare August 18, 2023 17:09
@github-actions github-actions bot temporarily deployed to commit August 18, 2023 17:10 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 18, 2023 17:10 Inactive
@nwtgck
Copy link
Owner

nwtgck commented Aug 18, 2023

@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);
}

@nwtgck
Copy link
Owner

nwtgck commented Aug 18, 2023

@dependabot rebase

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/word-wrap-1.2.5 branch from 7d8c9b8 to 7fa75e1 Compare August 18, 2023 17:17
@github-actions github-actions bot temporarily deployed to commit August 18, 2023 17:17 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 18, 2023 17:17 Inactive
@nwtgck nwtgck merged commit d05f785 into develop Aug 18, 2023
5 checks passed
@nwtgck nwtgck deleted the dependabot/npm_and_yarn/word-wrap-1.2.5 branch August 18, 2023 17:23
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant