Deprecate v0 series (#350)
This commit is contained in:
parent
c4799db911
commit
10c546c935
3 changed files with 18 additions and 2 deletions
4
dist/main/index.js
vendored
4
dist/main/index.js
vendored
File diff suppressed because one or more lines are too long
4
dist/post/index.js
vendored
4
dist/post/index.js
vendored
File diff suppressed because one or more lines are too long
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