Commit Graph

68 Commits

Author SHA1 Message Date
Google GitHub Actions Bot
f6de81663f
Release: v2.0.1 (#382)
## What's Changed
* Trigger release on pushes to release branches by @sethvargo in
https://github.com/google-github-actions/auth/pull/358
* Fix a small docs issue by @sethvargo in
https://github.com/google-github-actions/auth/pull/359
* Remove broken markdown links by @sethvargo in
https://github.com/google-github-actions/auth/pull/362
* Document that project_id might be required by @sethvargo in
https://github.com/google-github-actions/auth/pull/367
* Update README and CI to use latest version by @sethvargo in
https://github.com/google-github-actions/auth/pull/365
* Add service_account to WIF through SA example by @sethvargo in
https://github.com/google-github-actions/auth/pull/369
* Use new markdown syntax for alerts by @sethvargo in
https://github.com/google-github-actions/auth/pull/371
* Note .dockerignore in the exclusion for credentials by @sethvargo in
https://github.com/google-github-actions/auth/pull/376
* Support newline-separated inputs for delegates and access_token_scopes
by @sethvargo in https://github.com/google-github-actions/auth/pull/381


**Full Changelog**:
https://github.com/google-github-actions/auth/compare/v2.0.0...a57dd046551728ea4f537891f7c0b7758f71e77b
2024-01-08 17:39:31 -05:00
Seth Vargo
a57dd04655
Support newline-separated inputs for delegates and access_token_scopes (#381)
Fixes #380
2024-01-08 17:24:50 -05:00
Google GitHub Actions Bot
67e9c72af6
Release: v2.0.0 (#355)
## What's Changed
* Add support for Direct Workload Identity auth by @sethvargo in
https://github.com/google-github-actions/auth/pull/348
* Add protection for release branches by @sethvargo in
https://github.com/google-github-actions/auth/pull/351
* Make auth universe-aware by @sethvargo in
https://github.com/google-github-actions/auth/pull/352
* Fix some examples to include project_id by @sethvargo in
https://github.com/google-github-actions/auth/pull/353


**Full Changelog**:
https://github.com/google-github-actions/auth/compare/v1.2.0...0a2edc185b2c194b4f6bcebc7a8f52ebce97cd91
2023-11-28 22:37:53 -05:00
Seth Vargo
7c4e01fd00
Make auth universe-aware (#352)
This adds support for making the action "universe" aware, so it will be
usable for TPC and GDCH.
2023-11-28 21:59:39 -05:00
Seth Vargo
fe9207673e
Add support for Direct Workload Identity auth (#348)
This adds a new authentication mode, Direct Workload Identity
Federation. This new mode permits authenticating to Google Cloud
directly using the GitHub Actions OIDC token instead of proxying through
a Google Cloud Service Account.
2023-11-28 10:41:10 -05:00
Google GitHub Actions Bot
f105ef0cdb
Release: v1.2.0 (#346)
## What's Changed
* Update deps by @sethvargo in
https://github.com/google-github-actions/auth/pull/312
* dependabot: only do security updates by @sethvargo in
https://github.com/google-github-actions/auth/pull/320
* update all deps by @sethvargo in
https://github.com/google-github-actions/auth/pull/321
* Update README.md by @mattseymour in
https://github.com/google-github-actions/auth/pull/332
* Update deps to Node 20 by @sethvargo in
https://github.com/google-github-actions/auth/pull/339
* Drop chai and mocha deps by @sethvargo in
https://github.com/google-github-actions/auth/pull/342
* Switch to more resilient testing by @sethvargo in
https://github.com/google-github-actions/auth/pull/343
* Build latest versions by @sethvargo in
https://github.com/google-github-actions/auth/pull/345

## New Contributors
* @mattseymour made their first contribution in
https://github.com/google-github-actions/auth/pull/332

**Full Changelog**:
https://github.com/google-github-actions/auth/compare/v1.1.1...cf96593e466c3b0a34086310cd29fe5aa3f49ece
2023-11-20 18:38:48 +00:00
Seth Vargo
cf96593e46
Build latest versions (#345)
<!--
Thank you for proposing a pull request! Please note that SOME TESTS WILL
LIKELY FAIL due to how GitHub exposes secrets in Pull Requests from
forks.
Someone from the team will review your Pull Request and respond.

Please describe your change and any implementation details below.
-->
2023-11-20 13:23:18 -05:00
Seth Vargo
04900d1e97
Drop chai and mocha deps (#342) 2023-11-15 08:33:15 -05:00
Seth Vargo
43a59886fc
Update deps (#339) 2023-11-08 06:22:12 -08:00
Seth Vargo
87b651ab4a
update all deps (#321) 2023-07-11 12:37:56 -04:00
Google GitHub Actions Bot
35b0e87d16
Release: v1.1.1 (#306)
## What's Changed
* Add support info by @sethvargo in
https://github.com/google-github-actions/auth/pull/303
* chore: update dependencies (automated) by @verbanicm in
https://github.com/google-github-actions/auth/pull/305


**Full Changelog**:
https://github.com/google-github-actions/auth/compare/v1.1.0...24b8285e35a6e4f8d1b395a5191e2d7682ec64b8
2023-05-08 14:19:11 -04:00
Google GitHub Actions Bot
e8df18b60c
Release: v1.1.0 (#297)
## What's Changed
* fix: update doc versions by @verbanicm in
https://github.com/google-github-actions/auth/pull/240
* Only emit a warning if the envvar has changed by @sethvargo in
https://github.com/google-github-actions/auth/pull/245
* Update CI and deps by @sethvargo in
https://github.com/google-github-actions/auth/pull/248
* Document possible issues with org policies by @sethvargo in
https://github.com/google-github-actions/auth/pull/258
* Updated troubleshooting to add permissions example by @bseib in
https://github.com/google-github-actions/auth/pull/262
* Note that Firebase Admin Node.js SDK doesn't support WLIF by
@kevinthecheung in
https://github.com/google-github-actions/auth/pull/268
* chore: update dependencies (automated) by @verbanicm in
https://github.com/google-github-actions/auth/pull/274
* Document admission for all repos of an owner by @djbrown in
https://github.com/google-github-actions/auth/pull/279
* Switch to pull non-secret values from env by @sethvargo in
https://github.com/google-github-actions/auth/pull/288
* Emit a diff of each environment variable by @sethvargo in
https://github.com/google-github-actions/auth/pull/296
* Enable default retries of 3 retry attempts at 250ms backoff by
@sethvargo in https://github.com/google-github-actions/auth/pull/294

## New Contributors
* @bseib made their first contribution in
https://github.com/google-github-actions/auth/pull/262
* @kevinthecheung made their first contribution in
https://github.com/google-github-actions/auth/pull/268
* @djbrown made their first contribution in
https://github.com/google-github-actions/auth/pull/279

**Full Changelog**:
https://github.com/google-github-actions/auth/compare/v1.0.0...41d8fa4aaad5b21acb962af3a5112b0d1bd9cb1d
2023-04-17 23:02:56 +00:00
Seth Vargo
14b54cc192
Emit a diff of each environment variable (#296)
Fixes https://github.com/google-github-actions/auth/issues/295
2023-04-17 22:52:00 +00:00
Seth Vargo
d4421b6014
Update CI and deps (#248) 2022-12-09 21:21:40 -05:00
Seth Vargo
23620afd0f
Only emit a warning if the envvar has changed (#245) 2022-11-26 09:00:48 -05:00
Google GitHub Actions Bot
ef5d53e30b
Release: v1.0.0 (#239)
## What's Changed
* Update dependencies and tweak README by @sethvargo in
https://github.com/google-github-actions/auth/pull/237
* Switch to auth@v1 by @sethvargo in
https://github.com/google-github-actions/auth/pull/238


**Full Changelog**:
https://github.com/google-github-actions/auth/compare/v0.8.3...d419231eb96d10101085218406fb847f866ed776
2022-11-08 17:31:50 +00:00
Seth Vargo
44ae44c257
Update dependencies and tweak README (#237) 2022-11-08 11:20:52 -05:00
Google GitHub Actions Bot
c4799db911
Release: v0.8.3 (#232) 2022-10-14 20:30:25 +00:00
Google GitHub Actions Bot
2671692c37
Release: v0.8.2 (#229) 2022-10-12 13:34:13 -04:00
Google GitHub Actions Bot
dac4e13deb
Release: v0.8.1 (#219) 2022-08-31 16:28:27 -07:00
Seth Vargo
c4e906d161
Add proxy support (#218) 2022-08-31 19:13:51 -04:00
Seth Vargo
246692c248
chore: update deps (#215) 2022-08-25 09:02:06 -04:00
Seth Vargo
b792fe33f8
chore: update deps (#199) 2022-06-21 10:10:01 -05:00
Google GitHub Actions Bot
9025e64312
Build dist (#184) 2022-05-23 15:28:42 -04:00
Mike Verbanic
95a6bc2a27
feat: add retries (#181) 2022-05-23 15:17:21 -04:00
Google GitHub Actions Bot
10d8e00a99
Build dist (#180) 2022-05-18 14:10:26 +00:00
Seth Vargo
7c32666372
fix: repair a logic bug for domain-wide delegation (#178) 2022-05-18 10:04:31 -04:00
Google GitHub Actions Bot
714f1fe243
Build dist (#177) 2022-05-16 10:07:45 -04:00
Seth Vargo
a1f1aca0d6
chore: build 2022-05-16 09:50:59 -04:00
Seth Vargo
ce2cf1ac23
chore: update deps (#173) 2022-05-02 10:38:47 -04:00
Google GitHub Actions Bot
e2458b7f8a
Build dist (#168) 2022-04-22 16:48:29 -04:00
Seth Vargo
f6793d5041
chore: update all deps (#167) 2022-04-22 16:46:20 -04:00
Google GitHub Actions Bot
b05f71482f
Build dist (#163) 2022-04-05 23:46:05 +00:00
Seth Vargo
d16fd896f7
feat: allow opt-out of exporting environment variables (#157)
This allows users to opt-out of exporting environment variables. This might be helpful if they **don't** want future steps to be authenticated, or if the exported environment variables conflict with other values.
2022-03-24 16:02:18 -05:00
Seth Vargo
38d3c2f54d
chore: update deps (#155) 2022-03-21 12:52:27 -04:00
Google GitHub Actions Bot
a2b753f630
Build dist (#133) 2022-02-03 15:58:48 -05:00
Google GitHub Actions Bot
696f31dbf6
Build dist (#131) 2022-02-03 15:53:26 -05:00
Seth Vargo
5d9db97c33
chore: minify build again 2022-01-30 17:08:54 -05:00
Seth Vargo
736e11de40
chore: update deps and use isEmptyDir from utils (#119) 2022-01-26 17:47:12 -06:00
Seth Vargo
983a037dfb
feat: emit a warning when the workspace is empty (#117)
There have been a number of GitHub issues recently due to users not adding actions/checkout before calling "auth", which makes the credentials unavailable to future steps. Worse, some people are putting checkout _after_ auth, which overwrites the generated credentials with a checkout of the repo.

This adds a feature that emits a warning with the workspace is empty.
2022-01-26 15:27:51 -05:00
Google GitHub Actions Bot
ac489d50bb
Build dist (#114) 2022-01-22 19:54:07 +00:00
Google GitHub Actions Bot
7b354992e5
Build dist (#113) 2022-01-22 14:46:54 -05:00
Seth Vargo
9b6531516d
bug: use actions-utils to emit HEAD warning (#102) 2021-12-30 15:00:21 +00:00
Seth Vargo
443ae925ab
bug: only cleanup credentials if credentials were created (#96) 2021-12-23 11:39:54 -05:00
Google GitHub Actions Bot
8c15757ad6
Build dist (#95) 2021-12-22 16:51:21 +00:00
Seth Vargo
b39ebee9c1
Temporarily unminify 2021-12-22 11:12:54 -05:00
Seth Vargo
ec59fe8c8e
fix: switch to actions-utils and update deps (#91) 2021-12-22 10:45:18 -05:00
Seth Vargo
ac09c292a1
Update documentation and emit log messages (#85) 2021-12-09 17:27:21 -05:00
Seth Vargo
ccc7806970
Emit a better error when OIDC information is missing (#81) 2021-12-09 12:52:57 -05:00
Seth Vargo
ed829381c8
Upgrade deps (#72) 2021-12-03 14:00:48 -06:00