Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate v0 series #350

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion dist/main/index.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion dist/post/index.js

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { join as pathjoin } from 'path';

import {
debug as logDebug,
error as logError,
exportVariable,
getBooleanInput,
getIDToken,
Expand Down Expand Up @@ -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'));
Expand Down