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
Seth Vargo
8708e498da
Add support for Domain-Wide Delegation ( #70 )
2021-12-02 10:17:06 -06:00
Seth Vargo
057960bb62
Add util function for parsing durations and many more tests ( #69 )
2021-12-01 16:13:51 -05: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
Bharath KKB
9a051ab76c
fix: export Google GHA creds env var ( #57 )
...
* fix: export Google GHA creds env var
* add comments for cred envvars
* build
2021-11-26 11:02:14 -05:00
Seth Vargo
2428105372
Compile
2021-11-25 14:28:51 -05:00
Seth Vargo
cc4b368646
Output more information in error about missing secrets ( #55 )
2021-11-22 11:51:55 -05:00
Seth Vargo
f56f5989ce
Pull user-agent version from module ( #45 )
2021-11-10 13:39:13 -06:00
Seth Vargo
d97e31546b
Ensure files are compiled as part of CI ( #41 )
...
* Ensure files are compiled as part of CI
* Install deps there too
2021-11-08 20:01:39 -06: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
Bharath KKB
d5a354ef10
chore: refactor WIF ( #33 )
...
* define common interfaces
* common base client
* refactor WIF to use interfaces and base client
* refactor main
* add build in CI
* add name for build step
* address comments
* fix import
* interface for credfile return
* regen dist
2021-10-12 23:17:42 -04:00
Seth Vargo
3fe2a3779a
Expand error message when GitHub envvars are not present ( #31 )
...
This points people to the GitHub Actions permissions documentation, which will help with troubleshooting token permission errors.
2021-10-06 11:26:23 -07:00
Seth Vargo
f3c3e206c9
Default audience to the WIF provider ID ( #23 )
2021-10-04 09:14:08 -07:00
Seth Vargo
fb26879445
Update references to google now ( #8 )
2021-09-21 19:30:30 -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
cb396c3f31
Refactor to support access and id tokens ( #3 )
2021-09-18 12:12:21 -04:00
Bharath KKB
afef6a5b6d
feat: use actions/core for getting gh OIDC token ( #2 )
...
Co-authored-by: Seth Vargo <seth@sethvargo.com>
2021-09-18 11:35:52 -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
688a7bd017
Initial commit
2021-09-16 12:54:29 -04:00