Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: google-github-actions/setup-gcloud
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.6.2
Choose a base ref
...
head repository: google-github-actions/setup-gcloud
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.7.0
Choose a head ref
  • 2 commits
  • 6 files changed
  • 2 contributors

Commits on Dec 8, 2023

  1. Deprecate v0 series

    sethvargo committed Dec 8, 2023
    Copy the full SHA
    90d1f1e View commit details
  2. Release: v0.7.0 (#663)

    **Full Changelog**:
    v1.1.1...90d1f1e
    google-github-actions-bot authored Dec 8, 2023
    Copy the full SHA
    20c93da View commit details
Showing with 17 additions and 5 deletions.
  1. +1 −1 .github/workflows/draft-release.yml
  2. +1 −0 .github/workflows/release.yml
  3. +1 −1 dist/main/index.js
  4. +2 −2 package-lock.json
  5. +1 −1 package.json
  6. +11 −0 src/setup-gcloud.ts
2 changes: 1 addition & 1 deletion .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
@@ -21,4 +21,4 @@ jobs:
version_strategy: '${{ github.event.inputs.version_strategy }}'
# secrets must be explicitly passed to reusable workflows https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow
secrets:
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@ on:
push:
branches:
- 'main'
- 'release/**/*'

jobs:
release:
2 changes: 1 addition & 1 deletion dist/main/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-gcloud",
"version": "0.6.2",
"version": "0.7.0",
"description": "Setup gcloud GitHub action",
"main": "dist/main/index.js",
"scripts": {
11 changes: 11 additions & 0 deletions src/setup-gcloud.ts
Original file line number Diff line number Diff line change
@@ -38,6 +38,17 @@ export const GCLOUD_METRICS_ENV_VAR = 'CLOUDSDK_METRICS_ENVIRONMENT';
export const GCLOUD_METRICS_LABEL = 'github-actions-setup-gcloud';

export async function run(): Promise<void> {
// v0 is deprecated and is no longer supported per our "two major versions"
// policy.
core.error(
`The v0 series of google-github-actions/setup-gcloud 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/setup-gcloud`,
);

// Warn if pinned to HEAD
if (isPinnedToHead()) {
core.warning(pinnedToHeadWarning('v0'));