1
0
Fork 0
mirror of synced 2026-06-05 12:25:14 +00:00

Deprecate v0 series (#350)

This commit is contained in:
Seth Vargo 2023-11-28 10:46:08 -05:00 committed by GitHub
commit 10c546c935
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 2 deletions

4
dist/main/index.js vendored

File diff suppressed because one or more lines are too long

4
dist/post/index.js vendored

File diff suppressed because one or more lines are too long

View file

@ -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'));