From 95e2d15420adee2aa7d97b08aff5d50feacb17b0 Mon Sep 17 00:00:00 2001 From: Bharath KKB Date: Fri, 18 Dec 2020 21:30:03 -0600 Subject: [PATCH] fix: Update action names (#250) (#251) Co-authored-by: Lewis Llobera --- .github/workflows/appengine-deploy-it.yml | 2 +- .github/workflows/deploy-cf-it.yml | 6 +++--- .github/workflows/deploy-cf-unit.yml | 2 +- .github/workflows/deploy-cloudrun-credentials-it.yml | 8 ++++---- .github/workflows/deploy-cloudrun-it.yml | 8 ++++---- .github/workflows/deploy-cloudrun.yml | 2 +- .github/workflows/get-gke-credentials-it.yml | 2 +- .github/workflows/get-gke-credentials-unit.yml | 2 +- .github/workflows/get-secretmanager-secrets-it.yml | 2 +- .github/workflows/upload-cloud-storage-it.yml | 4 ++-- appengine-deploy/README.md | 2 +- deploy-cloud-functions/README.md | 4 ++-- deploy-cloudrun/README.md | 4 ++-- .../cloud-build/.github/workflows/cloud-build.yml | 2 +- .../cloud-run/.github/workflows/cloud-run.yml | 2 +- example-workflows/gae/.github/workflows/app-engine.yml | 2 +- example-workflows/gce/.github/workflows/gce.yaml | 2 +- example-workflows/gke/.github/workflows/gke.yml | 2 +- get-secretmanager-secrets/README.md | 2 +- setup-gcloud/README.md | 2 +- upload-cloud-storage/README.md | 2 +- 21 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/appengine-deploy-it.yml b/.github/workflows/appengine-deploy-it.yml index ec76a3d1..2dabee3c 100644 --- a/.github/workflows/appengine-deploy-it.yml +++ b/.github/workflows/appengine-deploy-it.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.APPENGINE_DEPLOY_SA_KEY_JSON }} export_default_credentials: true diff --git a/.github/workflows/deploy-cf-it.yml b/.github/workflows/deploy-cf-it.yml index 64a9a7ce..bd3f9139 100644 --- a/.github/workflows/deploy-cf-it.yml +++ b/.github/workflows/deploy-cf-it.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master # Set up ADC for credentials + - uses: google-github-actions/setup-gcloud@master # Set up ADC for credentials with: service_account_email: ${{ secrets.DEPLOY_CF_SA_EMAIL }} service_account_key: ${{ secrets.DEPLOY_CF_SA_KEY_JSON }} @@ -75,7 +75,7 @@ jobs: node-version: 12.x - run: npm install working-directory: ./deploy-cloud-functions - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service + - uses: google-github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service with: service_account_email: ${{ secrets.DEPLOY_CF_SA_EMAIL }} service_account_key: ${{ secrets.DEPLOY_CF_SA_KEY_JSON }} @@ -116,7 +116,7 @@ jobs: node-version: 12.x - run: npm install working-directory: ./deploy-cloud-functions - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service + - uses: google-github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service with: service_account_email: ${{ secrets.DEPLOY_CF_SA_EMAIL }} service_account_key: ${{ secrets.DEPLOY_CF_SA_KEY_JSON }} diff --git a/.github/workflows/deploy-cf-unit.yml b/.github/workflows/deploy-cf-unit.yml index e983f1c1..cb10179b 100644 --- a/.github/workflows/deploy-cf-unit.yml +++ b/.github/workflows/deploy-cf-unit.yml @@ -32,7 +32,7 @@ jobs: run: npm run lint working-directory: ./deploy-cloud-functions - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@master with: service_account_email: ${{ secrets.DEPLOY_CF_SA_EMAIL }} service_account_key: ${{ secrets.DEPLOY_CF_SA_KEY_B64 }} diff --git a/.github/workflows/deploy-cloudrun-credentials-it.yml b/.github/workflows/deploy-cloudrun-credentials-it.yml index 57e51236..08570b32 100644 --- a/.github/workflows/deploy-cloudrun-credentials-it.yml +++ b/.github/workflows/deploy-cloudrun-credentials-it.yml @@ -14,7 +14,7 @@ jobs: - id: service run: echo ::set-output name=service::run-gcloud-$GITHUB_SHA - uses: actions/checkout@v2 - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service + - uses: google-github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service with: service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }} export_default_credentials: true @@ -52,7 +52,7 @@ jobs: node-version: 12.x - run: npm install working-directory: ./deploy-cloudrun - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service + - uses: google-github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service with: service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }} export_default_credentials: true @@ -80,7 +80,7 @@ jobs: node-version: 12.x - run: npm install working-directory: ./deploy-cloudrun - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service + - uses: google-github-actions/setup-gcloud@master # Set up ADC to make authenticated request to service with: service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }} export_default_credentials: true @@ -95,7 +95,7 @@ jobs: runs-on: ubuntu-latest needs: [json, gcloud, b64_json] steps: - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }} project_id: ${{ secrets.DEPLOY_CLOUDRUN_PROJECT_ID }} diff --git a/.github/workflows/deploy-cloudrun-it.yml b/.github/workflows/deploy-cloudrun-it.yml index 092bc82d..5c3d5ef0 100644 --- a/.github/workflows/deploy-cloudrun-it.yml +++ b/.github/workflows/deploy-cloudrun-it.yml @@ -31,7 +31,7 @@ jobs: service: ${{ steps.service.outputs.service }} env_vars: TEST_ENV=TEST_VAR - name: Setup Authentication with gcloud - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }} export_default_credentials: true @@ -81,7 +81,7 @@ jobs: service: ${{ steps.service.outputs.service }} metadata: ./deploy-cloudrun/tests/unit/service.basic.yaml - name: Setup Authentication with gcloud - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }} export_default_credentials: true @@ -114,7 +114,7 @@ jobs: service: ${{ steps.service.outputs.service }} metadata: ./deploy-cloudrun/tests/unit/service.full.yaml - name: Setup Authentication with gcloud - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }} export_default_credentials: true @@ -148,7 +148,7 @@ jobs: runs-on: ubuntu-latest needs: [envvars, metadata, yaml] steps: - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }} project_id: ${{ secrets.DEPLOY_CLOUDRUN_PROJECT_ID }} diff --git a/.github/workflows/deploy-cloudrun.yml b/.github/workflows/deploy-cloudrun.yml index d73e70c7..5e8b1d80 100644 --- a/.github/workflows/deploy-cloudrun.yml +++ b/.github/workflows/deploy-cloudrun.yml @@ -32,7 +32,7 @@ jobs: run: npm run lint working-directory: ./deploy-cloudrun - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.DEPLOY_CLOUDRUN_SA_KEY_B64 }} export_default_credentials: true diff --git a/.github/workflows/get-gke-credentials-it.yml b/.github/workflows/get-gke-credentials-it.yml index 6aa2e2af..f1bec58b 100644 --- a/.github/workflows/get-gke-credentials-it.yml +++ b/.github/workflows/get-gke-credentials-it.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master # Set up ADC for credentials + - uses: google-github-actions/setup-gcloud@master # Set up ADC for credentials with: service_account_key: ${{ secrets.GET_GKE_CRED_SA_KEY_JSON }} export_default_credentials: true diff --git a/.github/workflows/get-gke-credentials-unit.yml b/.github/workflows/get-gke-credentials-unit.yml index c2df771c..20eb9884 100644 --- a/.github/workflows/get-gke-credentials-unit.yml +++ b/.github/workflows/get-gke-credentials-unit.yml @@ -32,7 +32,7 @@ jobs: run: npm run lint working-directory: ./get-gke-credentials - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.GET_GKE_CRED_SA_KEY_JSON }} export_default_credentials: true diff --git a/.github/workflows/get-secretmanager-secrets-it.yml b/.github/workflows/get-secretmanager-secrets-it.yml index b5e5bb10..734675bd 100644 --- a/.github/workflows/get-secretmanager-secrets-it.yml +++ b/.github/workflows/get-secretmanager-secrets-it.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.GET_SECRETMANAGER_SECRETS_SA_KEY_B64 }} export_default_credentials: true diff --git a/.github/workflows/upload-cloud-storage-it.yml b/.github/workflows/upload-cloud-storage-it.yml index 981ff42b..52324388 100644 --- a/.github/workflows/upload-cloud-storage-it.yml +++ b/.github/workflows/upload-cloud-storage-it.yml @@ -18,7 +18,7 @@ jobs: run: |- npm install npm run build - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@master with: service_account_email: ${{ secrets.UPLOAD_CLOUD_STORAGE_GCP_SA_EMAIL }} service_account_key: ${{ secrets.UPLOAD_CLOUD_STORAGE_GCP_SA_KEY_B64 }} @@ -93,7 +93,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@master with: service_account_email: ${{ secrets.UPLOAD_CLOUD_STORAGE_GCP_SA_EMAIL }} service_account_key: ${{ secrets.UPLOAD_CLOUD_STORAGE_GCP_SA_KEY_B64 }} diff --git a/appengine-deploy/README.md b/appengine-deploy/README.md index 069856f0..b0650dbd 100644 --- a/appengine-deploy/README.md +++ b/appengine-deploy/README.md @@ -103,7 +103,7 @@ You can provide credentials using the [setup-gcloud][setup-gcloud] action, however you must provide your Project ID to the `appengine-deploy` action: ```yaml -- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master +- uses: google-github-actions/setup-gcloud@master with: version: '290.0.1' service_account_key: ${{ secrets.GCP_SA_KEY }} diff --git a/deploy-cloud-functions/README.md b/deploy-cloud-functions/README.md index b41a5de9..fe06d98b 100644 --- a/deploy-cloud-functions/README.md +++ b/deploy-cloud-functions/README.md @@ -60,7 +60,7 @@ steps: - `runtime`: (Required) Runtime to use for the function. Possible options documented [here][runtimes]. -- `entry_point`: (Optional) Name of a function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. +- `entry_point`: (Optional) Name of a function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. - `region`: (Optional) Region in which the function should be deployed. Defaults to `us-central1`. @@ -125,7 +125,7 @@ one of the methods found in [Configuring Ownership and access to a service accou You can provide credentials using the [setup-gcloud][setup-gcloud] action: ```yaml -- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master +- uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.GCP_SA_KEY }} export_default_credentials: true diff --git a/deploy-cloudrun/README.md b/deploy-cloudrun/README.md index ff387c65..1beafe56 100644 --- a/deploy-cloudrun/README.md +++ b/deploy-cloudrun/README.md @@ -73,7 +73,7 @@ steps: KEY1=VALUE1,KEY2=VALUE2. **All existing environment variables will be retained**. - `metadata`: YAML serivce description for the Cloud Run service. See - [Metadata customizations](#metadata-customizations) for more information. + [Metadata customizations](#metadata-customizations) for more information. **Existing configuration will be retained besides container entrypoint and arguments**. - `project_id`: (Optional) ID of the Google Cloud project. If provided, this @@ -139,7 +139,7 @@ one of the methods found in [Configuring Ownership and access to a service accou You can provide credentials using the [setup-gcloud][setup-gcloud] action: ```yaml -- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master +- uses: google-github-actions/setup-gcloud@master with: version: '290.0.1' service_account_key: ${{ secrets.GCP_SA_KEY }} diff --git a/example-workflows/cloud-build/.github/workflows/cloud-build.yml b/example-workflows/cloud-build/.github/workflows/cloud-build.yml index b7853d50..e9c7bc93 100644 --- a/example-workflows/cloud-build/.github/workflows/cloud-build.yml +++ b/example-workflows/cloud-build/.github/workflows/cloud-build.yml @@ -33,7 +33,7 @@ jobs: uses: actions/checkout@v2 # Setup gcloud CLI - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@master with: version: '286.0.0' service_account_email: ${{ secrets.RUN_SA_EMAIL }} diff --git a/example-workflows/cloud-run/.github/workflows/cloud-run.yml b/example-workflows/cloud-run/.github/workflows/cloud-run.yml index 79bf1337..b94a3a3d 100644 --- a/example-workflows/cloud-run/.github/workflows/cloud-run.yml +++ b/example-workflows/cloud-run/.github/workflows/cloud-run.yml @@ -34,7 +34,7 @@ jobs: uses: actions/checkout@v2 # Setup gcloud CLI - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@master with: version: '290.0.1' service_account_key: ${{ secrets.RUN_SA_KEY }} diff --git a/example-workflows/gae/.github/workflows/app-engine.yml b/example-workflows/gae/.github/workflows/app-engine.yml index 797604f6..3f52025e 100644 --- a/example-workflows/gae/.github/workflows/app-engine.yml +++ b/example-workflows/gae/.github/workflows/app-engine.yml @@ -29,7 +29,7 @@ jobs: uses: actions/checkout@v2 # Setup and configure gcloud CLI - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@master with: version: '290.0.1' project_id: ${{ secrets.PROJECT_ID }} diff --git a/example-workflows/gce/.github/workflows/gce.yaml b/example-workflows/gce/.github/workflows/gce.yaml index 2b8ab852..75bdfd35 100644 --- a/example-workflows/gce/.github/workflows/gce.yaml +++ b/example-workflows/gce/.github/workflows/gce.yaml @@ -34,7 +34,7 @@ jobs: uses: actions/checkout@v2 # Setup gcloud CLI - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@master with: version: '290.0.1' service_account_key: ${{ secrets.GCE_SA_KEY }} diff --git a/example-workflows/gke/.github/workflows/gke.yml b/example-workflows/gke/.github/workflows/gke.yml index cfb3756c..41f9ec02 100644 --- a/example-workflows/gke/.github/workflows/gke.yml +++ b/example-workflows/gke/.github/workflows/gke.yml @@ -36,7 +36,7 @@ jobs: uses: actions/checkout@v2 # Setup gcloud CLI - - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@master with: version: '290.0.1' service_account_key: ${{ secrets.GKE_SA_KEY }} diff --git a/get-secretmanager-secrets/README.md b/get-secretmanager-secrets/README.md index 5e317b43..bb90b62f 100644 --- a/get-secretmanager-secrets/README.md +++ b/get-secretmanager-secrets/README.md @@ -134,7 +134,7 @@ permissions to access the secrets being requested. You can provide credentials using the [setup-gcloud][setup-gcloud] action: ```yaml -- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master +- uses: google-github-actions/setup-gcloud@master with: export_default_credentials: true - uses: GoogleCloudPlatform/github-actions/get-secretmanager-secrets@master diff --git a/setup-gcloud/README.md b/setup-gcloud/README.md index f2d23dd1..14aeb5d0 100644 --- a/setup-gcloud/README.md +++ b/setup-gcloud/README.md @@ -68,7 +68,7 @@ It does the following: ```yaml steps: - uses: actions/checkout@v2 -- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master +- uses: google-github-actions/setup-gcloud@master with: version: '290.0.1' project_id: ${{ secrets.GCP_PROJECT_ID }} diff --git a/upload-cloud-storage/README.md b/upload-cloud-storage/README.md index 9bb9e434..3fc35a71 100644 --- a/upload-cloud-storage/README.md +++ b/upload-cloud-storage/README.md @@ -157,7 +157,7 @@ permissions to access the secrets being requested. You can provide credentials using the [setup-gcloud][setup-gcloud] action: ```yaml -- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master +- uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.GCP_SA_KEY }} export_default_credentials: true