Compare commits
2 commits
main
...
release/v0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
09cecabe1f |
||
|
|
10c546c935 |
4 changed files with 16 additions and 4 deletions
2
dist/main/index.js
vendored
2
dist/main/index.js
vendored
File diff suppressed because one or more lines are too long
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@google-github-actions/auth",
|
||||
"version": "0.8.3",
|
||||
"version": "0.9.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@google-github-actions/auth",
|
||||
"version": "0.8.3",
|
||||
"version": "0.9.0",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.0",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@google-github-actions/auth",
|
||||
"version": "0.8.3",
|
||||
"version": "0.9.0",
|
||||
"description": "Authenticate to Google Cloud using OIDC tokens or JSON service account keys.",
|
||||
"main": "dist/main/index.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
12
src/main.ts
12
src/main.ts
|
|
@ -4,6 +4,7 @@ import { join as pathjoin } from 'path';
|
|||
|
||||
import {
|
||||
debug as logDebug,
|
||||
error as logError,
|
||||
exportVariable,
|
||||
getBooleanInput,
|
||||
getIDToken,
|
||||
|
|
@ -45,6 +46,17 @@ const oidcWarning =
|
|||
* Executes the main action.
|
||||
*/
|
||||
async function run(): Promise<void> {
|
||||
// v0 is deprecated and is no longer supported per our "two major versions"
|
||||
// policy.
|
||||
logError(
|
||||
`The v0 series of google-github-actions/auth is no longer maintained. It ` +
|
||||
`will not receive updates, improvements, or security patches. Please ` +
|
||||
`upgrade to the latest supported versions: ` +
|
||||
`\n` +
|
||||
`\n` +
|
||||
` https://github.com/google-github-actions/auth`,
|
||||
);
|
||||
|
||||
// Warn if pinned to HEAD
|
||||
if (isPinnedToHead()) {
|
||||
logWarning(pinnedToHeadWarning('v0'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue