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 hashicorp/action-setup-bob from 1.0.20 to 2 in the github-actions-breaking group #208

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 8, 2024

Bumps the github-actions-breaking group with 1 update: hashicorp/action-setup-bob.

Updates hashicorp/action-setup-bob from 1.0.20 to 2

Release notes

Sourced from hashicorp/action-setup-bob's releases.

v2

Updating action to use node20.

Changelog

Sourced from hashicorp/action-setup-bob's changelog.

/**

  • Copyright (c) HashiCorp, Inc.
  • SPDX-License-Identifier: MPL-2.0 */

const fs = require('fs'); const nock = require('nock'); const os = require('os'); const path = require('path'); const { Octokit } = require("@​octokit/rest");

const githubRelease = require('./github-release');

const client = new Octokit({ auth: 'testtoken', log: console, });

beforeAll(() => { nock.disableNetConnect(); });

describe('download asset', () => { test('downloads successfully', async () => { const releaseAsset = { id: 1, name: "test_v1.0.0_linux_amd64.zip", };

    fs.mkdtemp(path.join(os.tmpdir(), 'setup-hc-releases-'), async (err, directory) => {
        if (err) throw err;
    const expectedPath = path.resolve(directory, releaseAsset.name);
nock('https://api.github.com')
    .get(`/repos/testowner/testrepo/releases/assets/1`)
    .replyWithFile(200, path.resolve(__dirname, 'test.zip'), { 'content-type': 'application/octet-stream' });

const downloadPath = await githubRelease.downloadAsset(client, 'testowner', 'testrepo', releaseAsset, directory);

await expect(downloadPath).toEqual(expectedPath);

fs.readFile(downloadPath, null, async (err, data) => {
    if (err) throw err;

    await expect(data).toEqual(fs.readFileSync(path.resolve(__dirname, 'test.zip')));
});

});

});

... (truncated)

Commits
  • 37475d2 Merge pull request #68 from hashicorp/smre-177-node20-update
  • a827196 Update ci.yml
  • a118afb Update action.yml
  • 052273c Bump json5 from 2.2.0 to 2.2.3 (#42)
  • b38a40e Bump http-cache-semantics from 4.1.0 to 4.1.1 (#41)
  • 4cd06cf Bump actions/checkout from 3.5.3 to 4.1.4 (#67)
  • 0e4aa77 Bump actions/setup-node from 4.0.1 to 4.0.2 (#64)
  • 7035811 Bump tough-cookie from 4.0.0 to 4.1.3 (#48)
  • 362397e Bump semver from 6.3.0 to 6.3.1 (#50)
  • 16a8911 Merge pull request #63 from hashicorp/dependabot/npm_and_yarn/word-wrap-1.2.5
  • Additional commits viewable in compare view

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the github-actions-breaking group with 1 update: [hashicorp/action-setup-bob](https://github.com/hashicorp/action-setup-bob).


Updates `hashicorp/action-setup-bob` from 1.0.20 to 2
- [Release notes](https://github.com/hashicorp/action-setup-bob/releases)
- [Changelog](https://github.com/hashicorp/action-setup-bob/blob/main/github-release.test.js)
- [Commits](hashicorp/action-setup-bob@3b8865c...37475d2)

---
updated-dependencies:
- dependency-name: hashicorp/action-setup-bob
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions-breaking
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Auto-pinning label May 8, 2024
@radeksimko radeksimko merged commit b5c313e into main May 8, 2024
11 checks passed
@radeksimko radeksimko deleted the dependabot/github_actions/github-actions-breaking-55b2baa469 branch May 8, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Auto-pinning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant