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

Bump octokit from 7.0.0 to 7.1.0 #520

Merged
merged 1 commit into from
Sep 2, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps octokit from 7.0.0 to 7.1.0.

Release notes

Sourced from octokit's releases.

v7.1.0

What's Changed

New Contributors

Full Changelog: octokit/octokit.rb@v7.0.0...v7.1.0

Commits
  • 0241a4d v7.1.0
  • 0069cac Update version to v7.1.0 (#1614)
  • 73fd936 Add support for Actions Environment Secret Management (#1607)
  • cebbe08 Update rubocop requirement from 1.56.0 to 1.56.1 (#1612)
  • 365c2de Bump peter-evans/create-or-update-comment from 5f22cb87da9514ab329de42e546237...
  • 31c8f1b [deps] Bump peter-evans/create-or-update-comment
  • 69e3545 [deps] Update rubocop requirement from 1.54.2 to 1.56.0
  • 9bbb059 fixes cop violation
  • 61f118a Update rubocop requirement from 1.54.2 to 1.56.0
  • 18c818d Bump peter-evans/create-or-update-comment
  • 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)

@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Aug 25, 2023
@github-actions
Copy link

@github-actions
Copy link

gem compare octokit 7.0.0 7.1.0

Compared versions: ["7.0.0", "7.1.0"]
  DIFFERENT date:
    7.0.0: 2023-07-28 00:00:00 UTC
    7.1.0: 2023-08-24 00:00:00 UTC
  DIFFERENT version:
    7.0.0: 7.0.0
    7.1.0: 7.1.0
  DIFFERENT files:
    7.0.0->7.1.0:
      * Changed:
            lib/octokit/client/actions_secrets.rb +53/-0
            lib/octokit/repository.rb +2/-1
            lib/octokit/version.rb +1/-1

@github-actions
Copy link

gem compare --diff octokit 7.0.0 7.1.0

Compared versions: ["7.0.0", "7.1.0"]
  DIFFERENT files:
    7.0.0->7.1.0:
      * Changed:
        lib/octokit/client/actions_secrets.rb
                --- /tmp/d20230825-1893-id9yir/octokit-7.0.0/lib/octokit/client/actions_secrets.rb	2023-08-25 02:42:16.425069755 +0000
                +++ /tmp/d20230825-1893-id9yir/octokit-7.1.0/lib/octokit/client/actions_secrets.rb	2023-08-25 02:42:16.437069777 +0000
                @@ -56,0 +57,53 @@
                +
                +      # Get environment public key for secrets encryption
                +      #
                +      # @param repo [Integer, String, Hash, Repository] A GitHub repository
                +      # @param environment [String] Name of environment
                +      # @return [Hash] key_id and key
                +      # @see https://docs.github.com/en/rest/actions/secrets#get-an-environment-public-key
                +      def get_actions_environment_public_key(repo, environment)
                +        get "#{Repository.path repo}/environments/#{environment}/secrets/public-key"
                +      end
                +
                +      # List environment secrets
                +      #
                +      # @param repo [Integer, String, Hash, Repository] A GitHub repository
                +      # @param environment [String] Name of environment
                +      # @return [Hash] total_count and list of secrets (each item is hash with name, created_at and updated_at)
                +      # @see https://developer.github.com/v3/actions/secrets/#list-environment-secrets
                +      def list_actions_environment_secrets(repo, environment)
                +        paginate "#{Repository.path repo}/environments/#{environment}/secrets" do |data, last_response|
                +          data.secrets.concat last_response.data.secrets
                +        end
                +      end
                +
                +      # Get an environment secret
                +      #
                +      # @param repo [Integer, String, Hash, Repository] A GitHub repository
                +      # @param environment [String] Name of environment
                +      # @param name [String] Name of secret
                +      # @return [Hash] name, created_at and updated_at
                +      # @see https://docs.github.com/en/rest/actions/secrets#get-an-environment-secret
                +      def get_actions_environment_secret(repo, environment, name)
                +        get "#{Repository.path repo}/environments/#{environment}/secrets/#{name}"
                +      end
                +
                +      # Create or update an environment secret
                +      #
                +      # @param repo [Integer, String, Hash, Repository] A GitHub repository
                +      # @param environment [String] Name of environment
                +      # @param name [String] Name of secret
                +      # @param options [Hash] encrypted_value and key_id
                +      # @see https://docs.github.com/en/rest/actions/secrets#create-or-update-an-environment-secret
                +      def create_or_update_actions_environment_secret(repo, environment, name, options)
                +        put "#{Repository.path repo}/environments/#{environment}/secrets/#{name}", options
                +      end
                +
                +      # Delete environment secret
                +      # @param repo [Integer, String, Hash, Repository] A GitHub repository
                +      # @param environment [String] Name of environment
                +      # @param name [String] Name of secret
                +      # @see https://docs.github.com/en/rest/actions/secrets#delete-an-environment-secret
                +      def delete_actions_environment_secret(repo, environment, name)
                +        boolean_from_response :delete, "#{Repository.path repo}/environments/#{environment}/secrets/#{name}"
                +      end
        lib/octokit/repository.rb
                --- /tmp/d20230825-1893-id9yir/octokit-7.0.0/lib/octokit/repository.rb	2023-08-25 02:42:16.433069770 +0000
                +++ /tmp/d20230825-1893-id9yir/octokit-7.1.0/lib/octokit/repository.rb	2023-08-25 02:42:16.445069792 +0000
                @@ -51 +51,2 @@
                -      return id_api_path if @id
                +
                +      id_api_path if @id
        lib/octokit/version.rb
                --- /tmp/d20230825-1893-id9yir/octokit-7.0.0/lib/octokit/version.rb	2023-08-25 02:42:16.437069777 +0000
                +++ /tmp/d20230825-1893-id9yir/octokit-7.1.0/lib/octokit/version.rb	2023-08-25 02:42:16.449069800 +0000
                @@ -10 +10 @@
                -  MINOR = 0
                +  MINOR = 1

@dentarg dentarg enabled auto-merge (squash) September 2, 2023 05:32
Bumps [octokit](https://github.com/octokit/octokit.rb) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/octokit/octokit.rb/releases)
- [Changelog](https://github.com/octokit/octokit.rb/blob/main/RELEASE.md)
- [Commits](octokit/octokit.rb@v7.0.0...v7.1.0)

---
updated-dependencies:
- dependency-name: octokit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/octokit-7.1.0 branch from 4d80eec to 834a9e1 Compare September 2, 2023 05:33
@dentarg dentarg merged commit e6379fd into main Sep 2, 2023
4 checks passed
@dentarg dentarg deleted the dependabot/bundler/octokit-7.1.0 branch September 2, 2023 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant