1
0
Fork 0
mirror of synced 2026-06-05 14:08:19 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
Google GitHub Actions Bot
09cecabe1f
Release: v0.9.0 (#354)
## What's Changed
* Deprecate v0 series by @sethvargo in
https://github.com/google-github-actions/auth/pull/350


**Full Changelog**:
https://github.com/google-github-actions/auth/compare/v1.2.0...10c546c93592afd28b8e788c08795743aed6180c
2023-11-28 22:49:54 -05:00
Seth Vargo
10c546c935
Deprecate v0 series (#350) 2023-11-28 10:46:08 -05:00
4 changed files with 16 additions and 4 deletions

2
dist/main/index.js vendored

File diff suppressed because one or more lines are too long

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "@google-github-actions/auth", "name": "@google-github-actions/auth",
"version": "0.8.3", "version": "0.9.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@google-github-actions/auth", "name": "@google-github-actions/auth",
"version": "0.8.3", "version": "0.9.0",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@actions/core": "^1.10.0", "@actions/core": "^1.10.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "@google-github-actions/auth", "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.", "description": "Authenticate to Google Cloud using OIDC tokens or JSON service account keys.",
"main": "dist/main/index.js", "main": "dist/main/index.js",
"scripts": { "scripts": {

View file

@ -4,6 +4,7 @@ import { join as pathjoin } from 'path';
import { import {
debug as logDebug, debug as logDebug,
error as logError,
exportVariable, exportVariable,
getBooleanInput, getBooleanInput,
getIDToken, getIDToken,
@ -45,6 +46,17 @@ const oidcWarning =
* Executes the main action. * Executes the main action.
*/ */
async function run(): Promise<void> { 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 // Warn if pinned to HEAD
if (isPinnedToHead()) { if (isPinnedToHead()) {
logWarning(pinnedToHeadWarning('v0')); logWarning(pinnedToHeadWarning('v0'));