Skip to content

feat!: Replace actions env secret endpoints#4335

Merged
gmlewis merged 7 commits into
google:masterfrom
stevehipwell:actions-repo-env-secrets
Jul 1, 2026
Merged

feat!: Replace actions env secret endpoints#4335
gmlewis merged 7 commits into
google:masterfrom
stevehipwell:actions-repo-env-secrets

Conversation

@stevehipwell

@stevehipwell stevehipwell commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

BREAKING CHANGE: ActionsService methods involving secrets have new params and return values.

This PR updates the actions environment secrets functions to use the documented and supported endpoints, it also changes all actions secret create/update functions to use a value parameter (#3644).

Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
@gmlewis gmlewis added NeedsReview PR is awaiting a review before merging. Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s). labels Jun 26, 2026
Comment thread example/newreposecretwithxcrypto/main.go Outdated
Comment thread github/actions_secrets.go Outdated
@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.50%. Comparing base (7a388ca) to head (f0e3203).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4335   +/-   ##
=======================================
  Coverage   97.50%   97.50%           
=======================================
  Files         193      193           
  Lines       19451    19481   +30     
=======================================
+ Hits        18965    18995   +30     
  Misses        269      269           
  Partials      217      217           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread github/actions_secrets.go Outdated
@stevehipwell stevehipwell requested a review from gmlewis July 1, 2026 13:11
@gmlewis gmlewis removed the NeedsReview PR is awaiting a review before merging. label Jul 1, 2026

@gmlewis gmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @stevehipwell and @alexandear!
LGTM.
Merging.

@gmlewis gmlewis merged commit a209c66 into google:master Jul 1, 2026
15 checks passed
@stevehipwell stevehipwell deleted the actions-repo-env-secrets branch July 1, 2026 13:23
@stevehipwell

Copy link
Copy Markdown
Contributor Author

@gmlewis variables PR to follow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants