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 to 2 #1704

Merged

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps hashicorp/action-setup-bob from 1 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 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 [hashicorp/action-setup-bob](https://github.com/hashicorp/action-setup-bob) from 1 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@v1...v2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner May 13, 2024 15:18
@dependabot dependabot bot added dependencies Auto-pinning github_actions Pull requests that update GitHub Actions code labels May 13, 2024
@jpogran jpogran merged commit 315fa36 into main May 13, 2024
21 checks passed
@jpogran jpogran deleted the dependabot/github_actions/hashicorp/action-setup-bob-2 branch May 13, 2024 16:22
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Auto-pinning github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant