-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
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 |
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
bot
force-pushed
the
dependabot/bundler/octokit-7.1.0
branch
from
September 2, 2023 05:33
4d80eec
to
834a9e1
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps octokit from 7.0.0 to 7.1.0.
Release notes
Sourced from octokit's releases.
Commits
0241a4d
v7.1.00069cac
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-comment69e3545
[deps] Update rubocop requirement from 1.54.2 to 1.56.09bbb059
fixes cop violation61f118a
Update rubocop requirement from 1.54.2 to 1.56.018c818d
Bump peter-evans/create-or-update-commentDependabot 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)