Seth Vargo
e426d954f6
chore: update references to setup-gcloud@master -> setup-gcloud@main ( #162 )
2022-04-05 09:44:37 -05: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
e9ca24f3e2
docs: add a node about node16 on self-hosted runners ( #149 )
2022-03-08 10:24:24 -05:00
Koichi Shiraishi
db6919d074
Update actions/checkout to v3 ( #148 )
...
* chore: update actions/checkout to v3
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
* chore: update docs to actions/checkout@v3
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
2022-03-08 10:18:30 -05:00
SHIMADA Kento
65963dbda5
doc: fix registry name example for GAR ( #143 )
2022-02-25 12:56:50 -05:00
Charles Sullivan
3fbe03175e
doc: Fix token_format in readme. ( #138 )
...
https://github.com/google-github-actions/auth/blob/main/action.yml#L136-L139
2022-02-14 11:37:07 -06:00
Seth Vargo
48c46e6a59
feat: ensure cred file is created with a predictable name ( #130 )
2022-02-03 11:57:50 -06:00
Seth Vargo
3b7fb59565
docs: add gar and gcr example ( #128 )
2022-02-03 14:30:22 +00:00
Seth Vargo
b6d69ec4d4
doc: add troubleshooting section ( #127 )
2022-02-03 02:19:28 -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
Seth Vargo
88fbfac1f6
docs: note checkout must come first
2022-01-22 14:41:04 -05:00
Tautvydas Versockas
1261433f2b
Replace single quotes with double quotes in README ( #108 )
2022-01-17 16:25:00 +00:00
Seth Vargo
2c3f0ad713
Add note about gcloud version
2022-01-11 11:41:30 -05:00
Seth Vargo
f616570cea
Fix small README typo
2022-01-07 09:46:48 -05:00
Seth Vargo
478002e00b
chore: fix readme example to not consume token ( #98 )
2021-12-29 22:01:45 -06:00
Seth Vargo
443ae925ab
bug: only cleanup credentials if credentials were created ( #96 )
2021-12-23 11:39:54 -05:00
Seth Vargo
1b8ec4e237
Update README.md
2021-12-19 22:13:23 -05:00
Katie McLaughlin
52d3869752
(minor) fix syntax on README step ( #88 )
2021-12-14 12:08:46 -05:00
Bharath KKB
1c6c798434
chore: add a link to TF module ( #86 )
2021-12-09 17:23:08 -06:00
Seth Vargo
ac09c292a1
Update documentation and emit log messages ( #85 )
2021-12-09 17:27:21 -05:00
Seth Vargo
d03480e8ad
Update documentation
2021-12-09 14:15:09 -05:00
Seth Vargo
8708e498da
Add support for Domain-Wide Delegation ( #70 )
2021-12-02 10:17:06 -06:00
Seth Vargo
1e9245c68a
Clean up exported credentials when the workflow finishes ( #67 )
...
* Clean up exported credentials when the workflow finishes
* Fix conditional and log
2021-12-01 11:38:47 -06:00
Seth Vargo
a37d7b422e
Update README.md ( #64 )
2021-11-29 18:10:56 -06:00
Nozomu Ohki
6dbf4e537f
chore: Replace backticks with single quotes in README ( #65 )
2021-11-29 17:52:40 -06:00
Seth Vargo
e805d1d054
Update README to v0.4.1
2021-11-29 14:57:02 -05:00
Seth Vargo
fc5003a59a
Update README.md
2021-11-25 14:20:31 -05:00
pokutuna
e7aec2b7c8
docs: fix token format example in readme ( #59 )
2021-11-25 14:19:48 -05:00
Seth Vargo
b759bed608
Bump README to v0.4.0
2021-11-09 16:11:11 -05:00
Seth Vargo
2f0b4dbd9b
Add support for specifying authentication via JSON service account keys ( #37 )
...
* Add support for specifying authentication via JSON service account keys
* Update README.md
Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>
* Update README.md
Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>
* Update README.md
Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>
* Review feedback
* Undo interface
* Use TokenCreator instead
Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>
2021-11-08 17:13:59 -05:00
Seth Vargo
90e80b8d07
Update to new STS URL ( #30 )
...
Per https://twitter.com/chrisrpatterson/status/1445773065221128203 . This is still rolling out.
2021-10-06 11:22:19 -07:00
Seth Vargo
abe0e87145
Bump version used in README examples ( #26 )
2021-10-04 09:35:28 -07:00
Seth Vargo
f3c3e206c9
Default audience to the WIF provider ID ( #23 )
2021-10-04 09:14:08 -07:00
Seth Vargo
02f3d58995
Clean up a few typescript warnings ( #25 )
2021-09-30 13:07:11 -07:00
Bogdan A
7296e5030f
docs: remove unnecessary steps and update examples ( #15 )
2021-09-27 12:59:53 -04:00
Niels Hofmans
f8bb88e07e
chore: add read privileges to readme ( #18 )
2021-09-27 11:21:07 -04:00
Yuki Furuyama
0583f8fbeb
s/access_token/id_token/ for id_token_include_email input ( #13 )
2021-09-23 20:45:22 -04:00
Seth Vargo
fe9d1eddf5
Update README.md ( #14 )
2021-09-23 20:44:24 -04:00
Seth Vargo
1854238d2d
Add a note about overriding default permissions
...
Fixes GH-12
2021-09-22 21:31:59 -04:00
gregoireW
f660f85abd
Fix a typo in the README for usage instructions
...
Signed-off-by: gregoireW <24318548+GregoireW@users.noreply.github.com>
2021-09-22 08:59:42 -04:00
Seth Vargo
fb26879445
Update references to google now ( #8 )
2021-09-21 19:30:30 -04:00
Seth Vargo
2dd133ffa2
Bump version
2021-09-21 18:11:17 -04:00
Seth Vargo
febe21311b
Add the ability to generate and export a credentials file ( #7 )
...
This credentials file can be passed to gcloud or other Google Cloud SDKs to automatically do the exchange.
2021-09-21 18:10:27 -04:00
Seth Vargo
bbbd1424f7
Add example of attribute mapping repos
2021-09-21 12:23:39 -04:00
Seth Vargo
03500c2f23
Fix readme
2021-09-20 21:29:09 -04:00
Seth Vargo
ad2dddb569
Even more README fixes
2021-09-20 11:44:31 -04:00
Seth Vargo
5e33466111
Fix readme
2021-09-20 11:41:07 -04:00
Seth Vargo
cb396c3f31
Refactor to support access and id tokens ( #3 )
2021-09-18 12:12:21 -04:00
Yuki Furuyama
e13dfdd573
Support ID Token generation ( #1 )
...
* Support id token generation
* Fix id_token_audience validation
* Add id_token_audience to test workflow
* Generate dist/index.js for id token support
2021-09-18 11:34:46 -04:00
Seth Vargo
271e0346a0
Add example
2021-09-16 13:00:02 -04:00