google-github-actions / get-gke-credentials

A GitHub Action that configure authentication to a GKE cluster.
https://cloud.google.com/gke
Apache License 2.0
105 stars 41 forks source link

Fails to get credentials when called through a composite action multiple times #230

Closed rellu closed 1 year ago

rellu commented 2 years ago

TL;DR

Getting consistent errors when I am calling auth and get-gke-credentials actions through a composite action twice within a same job in a workflow.

Expected behavior

No errors. Getting credentials should work no matter how or how many times I call it. This limits how these composite actions can be used.

Observed behavior

Looks to me that, when I call the composite action a second time it somehow uses the environment variables from the first pass eventhough the logs are clearly telling me that it will overwrite those environment variables.

Action YAML

# Composite action
name: "auth"
description: "calling this many times fails"
runs:
  using: "composite"
  steps:
    - name: Checkout
      uses: actions/checkout@v3
    - id: Auth
      name: gcloud auth
      uses: 'google-github-actions/auth@v0'
      with:
        workload_identity_provider: projects/<numbers>/locations/global/workloadIdentityPools/github-actions/providers/github
        service_account: name@project.iam.gserviceaccount.com
        token_format: 'access_token'
        access_token_scopes: https://www.googleapis.com/auth/cloud-platform
        access_token_subject: name@project.iam.gserviceaccount.com
    - name: Get gke credentials
      uses: google-github-actions/get-gke-credentials@v0
      with:
        cluster_name: cluster
        location: us-central1
        project_id: project
# Workflow that always fails
name: gcloud auth errors

on: [push, workflow_dispatch]

jobs:
  foo:
    name: foo
    runs-on: [ self-hosted, linux ]
    permissions: write-all
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: auth
        uses: ./.github/actions/auth
      - name: auth
        uses: ./.github/actions/auth
# Works well without using composite action
name: gcloud auth

on: [push, workflow_dispatch]

jobs:
  foo:
    name: foo
    runs-on: [ self-hosted, linux ]
    permissions: write-all
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: gcloud auth
        uses: 'google-github-actions/auth@v0'
        with:
          workload_identity_provider: projects/<numbers>/locations/global/workloadIdentityPools/github-actions/providers/github
          service_account: service-account@project.iam.gserviceaccount.com
          export_environment_variables: true
          cleanup_credentials: true
      - name: Get gke credentials
        uses: google-github-actions/get-gke-credentials@v0
        with:
          cluster_name: gke-test-usc1
          location: us-central1
          project_id: gke-test
      - name: gcloud auth
        uses: 'google-github-actions/auth@v0'
        with:
          workload_identity_provider: projects/<numbers>/locations/global/workloadIdentityPools/github-actions/providers/github
          service_account: service-account@project.iam.gserviceaccount.com
          export_environment_variables: true
          cleanup_credentials: true
      - name: Get gke credentials
        uses: google-github-actions/get-gke-credentials@v0
        with:
          cluster_name: gke-test-usc1
          location: us-central1
          project_id: gke-test

Log output

2022-06-07T12:00:39.3650503Z Requested labels: self-hosted, linux
2022-06-07T12:00:39.3650609Z Job defined at: Corporation/github-actions-workflows/.github/workflows/wth_gcloud_authv3.yml@refs/heads/wth-gcloud-auth
2022-06-07T12:00:39.3650632Z Waiting for a runner to pick up this job...
2022-06-07T12:00:41.9093137Z Job is about to start running on the runner: corporation-linux-runner-qm279-nlpkw (organization)
2022-06-07T12:00:50.8545116Z Current runner version: '2.292.0'
2022-06-07T12:00:50.8553616Z Runner name: 'corporation-linux-runner-qm279-nlpkw'
2022-06-07T12:00:50.8554321Z Runner group name: 'corporation-runners'
2022-06-07T12:00:50.8555157Z Machine name: 'corporation-linux-runner-qm279-nlpkw'
2022-06-07T12:00:50.8558099Z ##[group]GITHUB_TOKEN Permissions
2022-06-07T12:00:50.8558928Z Actions: write
2022-06-07T12:00:50.8559199Z Checks: write
2022-06-07T12:00:50.8559612Z Contents: write
2022-06-07T12:00:50.8559977Z Deployments: write
2022-06-07T12:00:50.8560367Z Discussions: write
2022-06-07T12:00:50.8560756Z Issues: write
2022-06-07T12:00:50.8561102Z Metadata: read
2022-06-07T12:00:50.8561461Z Packages: write
2022-06-07T12:00:50.8561796Z Pages: write
2022-06-07T12:00:50.8562173Z PullRequests: write
2022-06-07T12:00:50.8562539Z RepositoryProjects: write
2022-06-07T12:00:50.8563004Z SecurityEvents: write
2022-06-07T12:00:50.8563609Z Statuses: write
2022-06-07T12:00:50.8563923Z ##[endgroup]
2022-06-07T12:00:50.8568692Z Secret source: Actions
2022-06-07T12:00:50.8569494Z Prepare workflow directory
2022-06-07T12:00:50.9644182Z Prepare all required actions
2022-06-07T12:00:50.9889171Z Getting action download info
2022-06-07T12:00:51.4217824Z Download action repository 'actions/checkout@v3' (SHA:2541b1294d2704b0964813337f33b291d3f8596b)
2022-06-07T12:00:52.2227395Z ##[group]Run actions/checkout@v3
2022-06-07T12:00:52.2227778Z with:
2022-06-07T12:00:52.2228133Z   repository: Corporation/github-actions-workflows
2022-06-07T12:00:52.2228835Z   token: ***
2022-06-07T12:00:52.2229089Z   ssh-strict: true
2022-06-07T12:00:52.2229384Z   persist-credentials: true
2022-06-07T12:00:52.2229748Z   clean: true
2022-06-07T12:00:52.2230006Z   fetch-depth: 1
2022-06-07T12:00:52.2230245Z   lfs: false
2022-06-07T12:00:52.2230507Z   submodules: false
2022-06-07T12:00:52.2230809Z   set-safe-directory: true
2022-06-07T12:00:52.2231082Z ##[endgroup]
2022-06-07T12:00:52.4484220Z Syncing repository: Corporation/github-actions-workflows
2022-06-07T12:00:52.4486543Z ##[group]Getting Git version info
2022-06-07T12:00:52.4487467Z Working directory is '/runner/_work/github-actions-workflows/github-actions-workflows'
2022-06-07T12:00:52.4588436Z [command]/usr/bin/git version
2022-06-07T12:00:52.4674009Z git version 2.36.0
2022-06-07T12:00:52.4727250Z ##[endgroup]
2022-06-07T12:00:52.4754742Z Temporarily overriding HOME='/runner/_work/_temp/7f7eca38-6665-4c28-b693-07c1936b7c31' before making global git config changes
2022-06-07T12:00:52.4756287Z Adding repository directory to the temporary git global config as a safe directory
2022-06-07T12:00:52.4762797Z [command]/usr/bin/git config --global --add safe.directory /runner/_work/github-actions-workflows/github-actions-workflows
2022-06-07T12:00:52.4818731Z Deleting the contents of '/runner/_work/github-actions-workflows/github-actions-workflows'
2022-06-07T12:00:52.4823309Z ##[group]Initializing the repository
2022-06-07T12:00:52.4828296Z [command]/usr/bin/git init /runner/_work/github-actions-workflows/github-actions-workflows
2022-06-07T12:00:52.4875717Z hint: Using 'master' as the name for the initial branch. This default branch name
2022-06-07T12:00:52.4876271Z hint: is subject to change. To configure the initial branch name to use in all
2022-06-07T12:00:52.4876763Z hint: of your new repositories, which will suppress this warning, call:
2022-06-07T12:00:52.4877140Z hint:
2022-06-07T12:00:52.4877652Z hint:  git config --global init.defaultBranch <name>
2022-06-07T12:00:52.4878025Z hint:
2022-06-07T12:00:52.4878508Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2022-06-07T12:00:52.4879048Z hint: 'development'. The just-created branch can be renamed via this command:
2022-06-07T12:00:52.4879395Z hint:
2022-06-07T12:00:52.4879727Z hint:  git branch -m <name>
2022-06-07T12:00:52.4888225Z Initialized empty Git repository in /runner/_work/github-actions-workflows/github-actions-workflows/.git/
2022-06-07T12:00:52.4896936Z [command]/usr/bin/git remote add origin https://github.com/Corporation/github-actions-workflows
2022-06-07T12:00:52.4939588Z ##[endgroup]
2022-06-07T12:00:52.4940213Z ##[group]Disabling automatic garbage collection
2022-06-07T12:00:52.4945023Z [command]/usr/bin/git config --local gc.auto 0
2022-06-07T12:00:52.4990548Z ##[endgroup]
2022-06-07T12:00:52.4991461Z ##[group]Setting up auth
2022-06-07T12:00:52.5002372Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-06-07T12:00:52.5049385Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2022-06-07T12:00:52.5772013Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2022-06-07T12:00:52.5828203Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2022-06-07T12:00:52.6296325Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2022-06-07T12:00:52.6314280Z ##[endgroup]
2022-06-07T12:00:52.6315529Z ##[group]Fetching the repository
2022-06-07T12:00:52.6324919Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +1a6c58e3b323bdbc2ad272056d8673d6871dd9b0:refs/remotes/origin/wth-gcloud-auth
2022-06-07T12:00:53.3835964Z remote: Enumerating objects: 34, done.
2022-06-07T12:00:53.3836438Z remote: Counting objects:   2% (1/34)
2022-06-07T12:00:53.3836761Z remote: Counting objects:   5% (2/34)
2022-06-07T12:00:53.3837108Z remote: Counting objects:   8% (3/34)
2022-06-07T12:00:53.3837406Z remote: Counting objects:  11% (4/34)
2022-06-07T12:00:53.3837743Z remote: Counting objects:  14% (5/34)
2022-06-07T12:00:53.3838537Z remote: Counting objects:  17% (6/34)
2022-06-07T12:00:53.3839026Z remote: Counting objects:  20% (7/34)
2022-06-07T12:00:53.3839509Z remote: Counting objects:  23% (8/34)
2022-06-07T12:00:53.3840067Z remote: Counting objects:  26% (9/34)
2022-06-07T12:00:53.3841506Z remote: Counting objects:  29% (10/34)
2022-06-07T12:00:53.3841868Z remote: Counting objects:  32% (11/34)
2022-06-07T12:00:53.3842228Z remote: Counting objects:  35% (12/34)
2022-06-07T12:00:53.3842556Z remote: Counting objects:  38% (13/34)
2022-06-07T12:00:53.3842888Z remote: Counting objects:  41% (14/34)
2022-06-07T12:00:53.3843359Z remote: Counting objects:  44% (15/34)
2022-06-07T12:00:53.3843724Z remote: Counting objects:  47% (16/34)
2022-06-07T12:00:53.3844079Z remote: Counting objects:  50% (17/34)
2022-06-07T12:00:53.3844413Z remote: Counting objects:  52% (18/34)
2022-06-07T12:00:53.3844817Z remote: Counting objects:  55% (19/34)
2022-06-07T12:00:53.3845161Z remote: Counting objects:  58% (20/34)
2022-06-07T12:00:53.3845480Z remote: Counting objects:  61% (21/34)
2022-06-07T12:00:53.3845833Z remote: Counting objects:  64% (22/34)
2022-06-07T12:00:53.3846568Z remote: Counting objects:  67% (23/34)
2022-06-07T12:00:53.3846939Z remote: Counting objects:  70% (24/34)
2022-06-07T12:00:53.3847290Z remote: Counting objects:  73% (25/34)
2022-06-07T12:00:53.3847757Z remote: Counting objects:  76% (26/34)
2022-06-07T12:00:53.3848238Z remote: Counting objects:  79% (27/34)
2022-06-07T12:00:53.3848701Z remote: Counting objects:  82% (28/34)
2022-06-07T12:00:53.3849140Z remote: Counting objects:  85% (29/34)
2022-06-07T12:00:53.3849611Z remote: Counting objects:  88% (30/34)
2022-06-07T12:00:53.3850070Z remote: Counting objects:  91% (31/34)
2022-06-07T12:00:53.3850530Z remote: Counting objects:  94% (32/34)
2022-06-07T12:00:53.3850998Z remote: Counting objects:  97% (33/34)
2022-06-07T12:00:53.3851457Z remote: Counting objects: 100% (34/34)
2022-06-07T12:00:53.3852255Z remote: Counting objects: 100% (34/34), done.
2022-06-07T12:00:53.3852794Z remote: Compressing objects:   3% (1/26)
2022-06-07T12:00:53.3853394Z remote: Compressing objects:   7% (2/26)
2022-06-07T12:00:53.3853899Z remote: Compressing objects:  11% (3/26)
2022-06-07T12:00:53.3854535Z remote: Compressing objects:  15% (4/26)
2022-06-07T12:00:53.3855068Z remote: Compressing objects:  19% (5/26)
2022-06-07T12:00:53.3855557Z remote: Compressing objects:  23% (6/26)
2022-06-07T12:00:53.3856042Z remote: Compressing objects:  26% (7/26)
2022-06-07T12:00:53.3902085Z remote: Compressing objects:  30% (8/26)
2022-06-07T12:00:53.3902493Z remote: Compressing objects:  34% (9/26)
2022-06-07T12:00:53.3902859Z remote: Compressing objects:  38% (10/26)
2022-06-07T12:00:53.3903309Z remote: Compressing objects:  42% (11/26)
2022-06-07T12:00:53.3903647Z remote: Compressing objects:  46% (12/26)
2022-06-07T12:00:53.3903984Z remote: Compressing objects:  50% (13/26)
2022-06-07T12:00:53.3904319Z remote: Compressing objects:  53% (14/26)
2022-06-07T12:00:53.3905057Z remote: Compressing objects:  57% (15/26)
2022-06-07T12:00:53.3905684Z remote: Compressing objects:  61% (16/26)
2022-06-07T12:00:53.3906046Z remote: Compressing objects:  65% (17/26)
2022-06-07T12:00:53.3906542Z remote: Compressing objects:  69% (18/26)
2022-06-07T12:00:53.3907016Z remote: Compressing objects:  73% (19/26)
2022-06-07T12:00:53.3907525Z remote: Compressing objects:  76% (20/26)
2022-06-07T12:00:53.3908035Z remote: Compressing objects:  80% (21/26)
2022-06-07T12:00:53.3908491Z remote: Compressing objects:  84% (22/26)
2022-06-07T12:00:53.3908950Z remote: Compressing objects:  88% (23/26)
2022-06-07T12:00:53.3909407Z remote: Compressing objects:  92% (24/26)
2022-06-07T12:00:53.3909887Z remote: Compressing objects:  96% (25/26)
2022-06-07T12:00:53.3910378Z remote: Compressing objects: 100% (26/26)
2022-06-07T12:00:53.3910822Z remote: Compressing objects: 100% (26/26), done.
2022-06-07T12:00:53.3948959Z remote: Total 34 (delta 9), reused 22 (delta 4), pack-reused 0
2022-06-07T12:00:53.4049522Z From https://github.com/Corporation/github-actions-workflows
2022-06-07T12:00:53.4050619Z  * [new ref]         1a6c58e3b323bdbc2ad272056d8673d6871dd9b0 -> origin/wth-gcloud-auth
2022-06-07T12:00:53.4073784Z ##[endgroup]
2022-06-07T12:00:53.4121502Z ##[group]Determining the checkout info
2022-06-07T12:00:53.4122506Z ##[endgroup]
2022-06-07T12:00:53.4123235Z ##[group]Checking out the ref
2022-06-07T12:00:53.4124258Z [command]/usr/bin/git checkout --progress --force -B wth-gcloud-auth refs/remotes/origin/wth-gcloud-auth
2022-06-07T12:00:53.4230745Z Switched to a new branch 'wth-gcloud-auth'
2022-06-07T12:00:53.4268309Z branch 'wth-gcloud-auth' set up to track 'origin/wth-gcloud-auth'.
2022-06-07T12:00:53.4269316Z ##[endgroup]
2022-06-07T12:00:53.4301197Z [command]/usr/bin/git log -1 --format='%H'
2022-06-07T12:00:53.4344240Z '1a6c58e3b323bdbc2ad272056d8673d6871dd9b0'
2022-06-07T12:00:53.4981372Z Prepare all required actions
2022-06-07T12:00:53.4982089Z Getting action download info
2022-06-07T12:00:53.8876908Z Download action repository 'google-github-actions/auth@v0' (SHA:ceee102ec2387dd9e844e01b530ccd4ec87ce955)
2022-06-07T12:00:54.2446763Z Download action repository 'google-github-actions/get-gke-credentials@v0' (SHA:0a5f57b989b81d2725178cda257a00acf7d6bb5f)
2022-06-07T12:00:54.6811381Z ##[group]Run ./.github/actions/auth
2022-06-07T12:00:54.6811577Z with:
2022-06-07T12:00:54.6811735Z ##[endgroup]
2022-06-07T12:00:54.7097570Z ##[group]Run actions/checkout@v3
2022-06-07T12:00:54.7097821Z with:
2022-06-07T12:00:54.7098142Z   repository: Corporation/github-actions-workflows
2022-06-07T12:00:54.7098636Z   token: ***
2022-06-07T12:00:54.7098867Z   ssh-strict: true
2022-06-07T12:00:54.7099119Z   persist-credentials: true
2022-06-07T12:00:54.7099538Z   clean: true
2022-06-07T12:00:54.7099768Z   fetch-depth: 1
2022-06-07T12:00:54.7099986Z   lfs: false
2022-06-07T12:00:54.7100272Z   submodules: false
2022-06-07T12:00:54.7100528Z   set-safe-directory: true
2022-06-07T12:00:54.7100842Z ##[endgroup]
2022-06-07T12:00:54.8994737Z Syncing repository: Corporation/github-actions-workflows
2022-06-07T12:00:54.8998483Z ##[group]Getting Git version info
2022-06-07T12:00:54.9001989Z Working directory is '/runner/_work/github-actions-workflows/github-actions-workflows'
2022-06-07T12:00:54.9008553Z [command]/usr/bin/git version
2022-06-07T12:00:54.9066379Z git version 2.36.0
2022-06-07T12:00:54.9114804Z ##[endgroup]
2022-06-07T12:00:54.9154788Z Temporarily overriding HOME='/runner/_work/_temp/e0e53807-cd4e-447d-86bf-98f63104f1ae' before making global git config changes
2022-06-07T12:00:54.9155675Z Adding repository directory to the temporary git global config as a safe directory
2022-06-07T12:00:54.9156730Z [command]/usr/bin/git config --global --add safe.directory /runner/_work/github-actions-workflows/github-actions-workflows
2022-06-07T12:00:54.9361809Z [command]/usr/bin/git config --local --get remote.origin.url
2022-06-07T12:00:54.9449161Z https://github.com/Corporation/github-actions-workflows
2022-06-07T12:00:54.9457304Z ##[group]Removing previously created refs, to avoid conflicts
2022-06-07T12:00:54.9463251Z [command]/usr/bin/git rev-parse --symbolic-full-name --verify --quiet HEAD
2022-06-07T12:00:54.9586156Z refs/heads/wth-gcloud-auth
2022-06-07T12:00:54.9743734Z [command]/usr/bin/git checkout --detach
2022-06-07T12:00:54.9821928Z HEAD is now at 1a6c58e wth this fails?
2022-06-07T12:00:54.9822717Z [command]/usr/bin/git rev-parse --symbolic-full-name --branches
2022-06-07T12:00:54.9871746Z refs/heads/wth-gcloud-auth
2022-06-07T12:00:54.9882930Z [command]/usr/bin/git branch --delete --force wth-gcloud-auth
2022-06-07T12:00:54.9925688Z Deleted branch wth-gcloud-auth (was 1a6c58e).
2022-06-07T12:00:54.9935198Z [command]/usr/bin/git rev-parse --symbolic-full-name --remotes=origin
2022-06-07T12:00:54.9971255Z refs/remotes/origin/wth-gcloud-auth
2022-06-07T12:00:54.9976001Z ##[endgroup]
2022-06-07T12:00:54.9976889Z ##[group]Cleaning the repository
2022-06-07T12:00:54.9984290Z [command]/usr/bin/git clean -ffdx
2022-06-07T12:00:55.0034694Z [command]/usr/bin/git reset --hard HEAD
2022-06-07T12:00:55.0083472Z HEAD is now at 1a6c58e wth this fails?
2022-06-07T12:00:55.0090937Z ##[endgroup]
2022-06-07T12:00:55.0094562Z ##[group]Disabling automatic garbage collection
2022-06-07T12:00:55.0107897Z [command]/usr/bin/git config --local gc.auto 0
2022-06-07T12:00:55.0143326Z ##[endgroup]
2022-06-07T12:00:55.0144471Z ##[group]Setting up auth
2022-06-07T12:00:55.0155078Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-06-07T12:00:55.0211142Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2022-06-07T12:00:55.1195339Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2022-06-07T12:00:55.1234616Z http.https://github.com/.extraheader
2022-06-07T12:00:55.1254512Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2022-06-07T12:00:55.1288096Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2022-06-07T12:00:55.1988383Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2022-06-07T12:00:55.2218316Z ##[endgroup]
2022-06-07T12:00:55.2219568Z ##[group]Fetching the repository
2022-06-07T12:00:55.2228552Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +1a6c58e3b323bdbc2ad272056d8673d6871dd9b0:refs/remotes/origin/wth-gcloud-auth
2022-06-07T12:01:00.5620576Z remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
2022-06-07T12:01:00.5807050Z ##[endgroup]
2022-06-07T12:01:00.5810655Z ##[group]Determining the checkout info
2022-06-07T12:01:00.5819787Z ##[endgroup]
2022-06-07T12:01:00.5822418Z ##[group]Checking out the ref
2022-06-07T12:01:00.5834321Z [command]/usr/bin/git checkout --progress --force -B wth-gcloud-auth refs/remotes/origin/wth-gcloud-auth
2022-06-07T12:01:00.5907731Z Switched to a new branch 'wth-gcloud-auth'
2022-06-07T12:01:00.5908967Z branch 'wth-gcloud-auth' set up to track 'origin/wth-gcloud-auth'.
2022-06-07T12:01:00.5914877Z ##[endgroup]
2022-06-07T12:01:00.5963626Z [command]/usr/bin/git log -1 --format='%H'
2022-06-07T12:01:00.6012139Z '1a6c58e3b323bdbc2ad272056d8673d6871dd9b0'
2022-06-07T12:01:00.6257209Z ##[group]Run google-github-actions/auth@v0
2022-06-07T12:01:00.6257529Z with:
2022-06-07T12:01:00.6257938Z   workload_identity_provider: projects/<numbers>/locations/global/workloadIdentityPools/github-actions/providers/github
2022-06-07T12:01:00.6258523Z   service_account: service-account@corporation-project.iam.gserviceaccount.com
2022-06-07T12:01:00.6258930Z   token_format: access_token
2022-06-07T12:01:00.6259295Z   access_token_scopes: https://www.googleapis.com/auth/cloud-platform
2022-06-07T12:01:00.6259811Z   access_token_subject: service-account@corporation-project.iam.gserviceaccount.com
2022-06-07T12:01:00.6260223Z   create_credentials_file: true
2022-06-07T12:01:00.6260530Z   export_environment_variables: true
2022-06-07T12:01:00.6260820Z   cleanup_credentials: true
2022-06-07T12:01:00.6261112Z   access_token_lifetime: 3600s
2022-06-07T12:01:00.6261372Z   retries: 0
2022-06-07T12:01:00.6261620Z   id_token_include_email: false
2022-06-07T12:01:00.6261892Z ##[endgroup]
2022-06-07T12:01:00.8995284Z Created credentials file at "/runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json"
2022-06-07T12:01:00.8995699Z
2022-06-07T12:01:00.9023936Z
2022-06-07T12:01:01.0596429Z
2022-06-07T12:01:01.0597925Z
2022-06-07T12:01:01.0700959Z ##[group]Run google-github-actions/get-gke-credentials@v0
2022-06-07T12:01:01.0701330Z with:
2022-06-07T12:01:01.0701621Z   cluster_name: corporation-gke-test-usc1
2022-06-07T12:01:01.0701945Z   location: us-central1
2022-06-07T12:01:01.0702224Z   project_id: corporation-gke-test
2022-06-07T12:01:01.0702530Z   use_auth_provider: false
2022-06-07T12:01:01.0702837Z   use_internal_ip: false
2022-06-07T12:01:01.0703279Z env:
2022-06-07T12:01:01.0703780Z   CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE: /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:01.0704505Z   GOOGLE_APPLICATION_CREDENTIALS: /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:01.0705157Z   GOOGLE_GHA_CREDS_PATH: /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:01.0705677Z   CLOUDSDK_CORE_PROJECT: corporation-project
2022-06-07T12:01:01.0706045Z   CLOUDSDK_PROJECT: corporation-project
2022-06-07T12:01:01.0706621Z   GCLOUD_PROJECT: corporation-project
2022-06-07T12:01:01.0706986Z   GCP_PROJECT: corporation-project
2022-06-07T12:01:01.0707341Z   GOOGLE_CLOUD_PROJECT: corporation-project
2022-06-07T12:01:01.0707635Z ##[endgroup]
2022-06-07T12:01:01.7214157Z Successfully created and exported "KUBECONFIG" at /runner/_work/github-actions-workflows/github-actions-workflows/6d1cc3a8ec374ad41e3ba108
2022-06-07T12:01:01.7395459Z Prepare all required actions
2022-06-07T12:01:01.7395719Z Getting action download info
2022-06-07T12:01:02.3078990Z ##[group]Run ./.github/actions/auth
2022-06-07T12:01:02.3079230Z with:
2022-06-07T12:01:02.3079429Z env:
2022-06-07T12:01:02.3079848Z   CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE: /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:02.3080462Z   GOOGLE_APPLICATION_CREDENTIALS: /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:02.3081163Z   GOOGLE_GHA_CREDS_PATH: /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:02.3081606Z   CLOUDSDK_CORE_PROJECT: corporation-project
2022-06-07T12:01:02.3081925Z   CLOUDSDK_PROJECT: corporation-project
2022-06-07T12:01:02.3082212Z   GCLOUD_PROJECT: corporation-project
2022-06-07T12:01:02.3082509Z   GCP_PROJECT: corporation-project
2022-06-07T12:01:02.3082845Z   GOOGLE_CLOUD_PROJECT: corporation-project
2022-06-07T12:01:02.3083371Z   KUBECONFIG: /runner/_work/github-actions-workflows/github-actions-workflows/6d1cc3a8ec374ad41e3ba108
2022-06-07T12:01:02.3083735Z ##[endgroup]
2022-06-07T12:01:02.3116883Z ##[group]Run actions/checkout@v3
2022-06-07T12:01:02.3117167Z with:
2022-06-07T12:01:02.3117515Z   repository: Corporation/github-actions-workflows
2022-06-07T12:01:02.3118039Z   token: ***
2022-06-07T12:01:02.3118293Z   ssh-strict: true
2022-06-07T12:01:02.3118602Z   persist-credentials: true
2022-06-07T12:01:02.3118888Z   clean: true
2022-06-07T12:01:02.3119128Z   fetch-depth: 1
2022-06-07T12:01:02.3119370Z   lfs: false
2022-06-07T12:01:02.3119623Z   submodules: false
2022-06-07T12:01:02.3119908Z   set-safe-directory: true
2022-06-07T12:01:02.3120188Z env:
2022-06-07T12:01:02.3120703Z   CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE: /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:02.3121488Z   GOOGLE_APPLICATION_CREDENTIALS: /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:02.3122211Z   GOOGLE_GHA_CREDS_PATH: /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:02.3122746Z   CLOUDSDK_CORE_PROJECT: corporation-project
2022-06-07T12:01:02.3123278Z   CLOUDSDK_PROJECT: corporation-project
2022-06-07T12:01:02.3123619Z   GCLOUD_PROJECT: corporation-project
2022-06-07T12:01:02.3123973Z   GCP_PROJECT: corporation-project
2022-06-07T12:01:02.3124318Z   GOOGLE_CLOUD_PROJECT: corporation-project
2022-06-07T12:01:02.3124823Z   KUBECONFIG: /runner/_work/github-actions-workflows/github-actions-workflows/6d1cc3a8ec374ad41e3ba108
2022-06-07T12:01:02.3125279Z ##[endgroup]
2022-06-07T12:01:02.5135499Z Syncing repository: Corporation/github-actions-workflows
2022-06-07T12:01:02.5136450Z ##[group]Getting Git version info
2022-06-07T12:01:02.5137179Z Working directory is '/runner/_work/github-actions-workflows/github-actions-workflows'
2022-06-07T12:01:02.5175305Z [command]/usr/bin/git version
2022-06-07T12:01:02.5244534Z git version 2.36.0
2022-06-07T12:01:02.5288574Z ##[endgroup]
2022-06-07T12:01:02.5324763Z Temporarily overriding HOME='/runner/_work/_temp/fcb710d5-8500-4380-914a-706d9f38e17c' before making global git config changes
2022-06-07T12:01:02.5325414Z Adding repository directory to the temporary git global config as a safe directory
2022-06-07T12:01:02.5326316Z [command]/usr/bin/git config --global --add safe.directory /runner/_work/github-actions-workflows/github-actions-workflows
2022-06-07T12:01:02.5422046Z [command]/usr/bin/git config --local --get remote.origin.url
2022-06-07T12:01:02.5629727Z https://github.com/Corporation/github-actions-workflows
2022-06-07T12:01:02.5654663Z ##[group]Removing previously created refs, to avoid conflicts
2022-06-07T12:01:02.5660889Z [command]/usr/bin/git rev-parse --symbolic-full-name --verify --quiet HEAD
2022-06-07T12:01:02.5704259Z refs/heads/wth-gcloud-auth
2022-06-07T12:01:02.5719470Z [command]/usr/bin/git checkout --detach
2022-06-07T12:01:02.5771397Z HEAD is now at 1a6c58e wth this fails?
2022-06-07T12:01:02.5786534Z [command]/usr/bin/git rev-parse --symbolic-full-name --branches
2022-06-07T12:01:02.5834386Z refs/heads/wth-gcloud-auth
2022-06-07T12:01:02.5874524Z [command]/usr/bin/git branch --delete --force wth-gcloud-auth
2022-06-07T12:01:02.5883964Z Deleted branch wth-gcloud-auth (was 1a6c58e).
2022-06-07T12:01:02.5893801Z [command]/usr/bin/git rev-parse --symbolic-full-name --remotes=origin
2022-06-07T12:01:02.5924815Z refs/remotes/origin/wth-gcloud-auth
2022-06-07T12:01:02.5933573Z ##[endgroup]
2022-06-07T12:01:02.5934609Z ##[group]Cleaning the repository
2022-06-07T12:01:02.5938390Z [command]/usr/bin/git clean -ffdx
2022-06-07T12:01:02.5972188Z Removing 6d1cc3a8ec374ad41e3ba108
2022-06-07T12:01:02.5973379Z Removing gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:02.5986876Z [command]/usr/bin/git reset --hard HEAD
2022-06-07T12:01:02.6052590Z HEAD is now at 1a6c58e wth this fails?
2022-06-07T12:01:02.6062272Z ##[endgroup]
2022-06-07T12:01:02.6070491Z ##[group]Disabling automatic garbage collection
2022-06-07T12:01:02.6078368Z [command]/usr/bin/git config --local gc.auto 0
2022-06-07T12:01:02.6119846Z ##[endgroup]
2022-06-07T12:01:02.6154284Z ##[group]Setting up auth
2022-06-07T12:01:02.6155050Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-06-07T12:01:02.6201718Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2022-06-07T12:01:02.6631314Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2022-06-07T12:01:02.6663441Z http.https://github.com/.extraheader
2022-06-07T12:01:02.6705030Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2022-06-07T12:01:02.6716402Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2022-06-07T12:01:02.7280505Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2022-06-07T12:01:02.7353513Z ##[endgroup]
2022-06-07T12:01:02.7354126Z ##[group]Fetching the repository
2022-06-07T12:01:02.7355359Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +1a6c58e3b323bdbc2ad272056d8673d6871dd9b0:refs/remotes/origin/wth-gcloud-auth
2022-06-07T12:01:03.2767148Z remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
2022-06-07T12:01:03.2916311Z ##[endgroup]
2022-06-07T12:01:03.2917209Z ##[group]Determining the checkout info
2022-06-07T12:01:03.2917882Z ##[endgroup]
2022-06-07T12:01:03.2918547Z ##[group]Checking out the ref
2022-06-07T12:01:03.2919669Z [command]/usr/bin/git checkout --progress --force -B wth-gcloud-auth refs/remotes/origin/wth-gcloud-auth
2022-06-07T12:01:03.4763301Z Switched to a new branch 'wth-gcloud-auth'
2022-06-07T12:01:03.4769272Z branch 'wth-gcloud-auth' set up to track 'origin/wth-gcloud-auth'.
2022-06-07T12:01:03.4797328Z ##[endgroup]
2022-06-07T12:01:03.4835046Z [command]/usr/bin/git log -1 --format='%H'
2022-06-07T12:01:03.4878365Z '1a6c58e3b323bdbc2ad272056d8673d6871dd9b0'
2022-06-07T12:01:03.5643606Z ##[group]Run google-github-actions/auth@v0
2022-06-07T12:01:03.5643993Z with:
2022-06-07T12:01:03.5644520Z   workload_identity_provider: projects/<numbers>/locations/global/workloadIdentityPools/github-actions/providers/github
2022-06-07T12:01:03.5645399Z   service_account: service-account@corporation-project.iam.gserviceaccount.com
2022-06-07T12:01:03.5645913Z   token_format: access_token
2022-06-07T12:01:03.5646458Z   access_token_scopes: https://www.googleapis.com/auth/cloud-platform
2022-06-07T12:01:03.5647271Z   access_token_subject: service-account@corporation-project.iam.gserviceaccount.com
2022-06-07T12:01:03.5647795Z   create_credentials_file: true
2022-06-07T12:01:03.5648177Z   export_environment_variables: true
2022-06-07T12:01:03.5648561Z   cleanup_credentials: true
2022-06-07T12:01:03.5648929Z   access_token_lifetime: 3600s
2022-06-07T12:01:03.5650945Z   retries: 0
2022-06-07T12:01:03.5651249Z   id_token_include_email: false
2022-06-07T12:01:03.5651563Z env:
2022-06-07T12:01:03.5652151Z   CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE: /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:03.5653247Z   GOOGLE_APPLICATION_CREDENTIALS: /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:03.5654081Z   GOOGLE_GHA_CREDS_PATH: /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:03.5654713Z   CLOUDSDK_CORE_PROJECT: corporation-project
2022-06-07T12:01:03.5655144Z   CLOUDSDK_PROJECT: corporation-project
2022-06-07T12:01:03.5655561Z   GCLOUD_PROJECT: corporation-project
2022-06-07T12:01:03.5655973Z   GCP_PROJECT: corporation-project
2022-06-07T12:01:03.5656434Z   GOOGLE_CLOUD_PROJECT: corporation-project
2022-06-07T12:01:03.5657026Z   KUBECONFIG: /runner/_work/github-actions-workflows/github-actions-workflows/6d1cc3a8ec374ad41e3ba108
2022-06-07T12:01:03.5657527Z ##[endgroup]
2022-06-07T12:01:04.1702339Z Created credentials file at "/runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-9edd3bec8b18d73b.json"
2022-06-07T12:01:04.1702941Z
2022-06-07T12:01:04.1732431Z ##[warning]Overwriting existing environment variable CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE (was: "/runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json")
2022-06-07T12:01:04.1744096Z ##[warning]Overwriting existing environment variable GOOGLE_APPLICATION_CREDENTIALS (was: "/runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json")
2022-06-07T12:01:04.1746625Z ##[warning]Overwriting existing environment variable GOOGLE_GHA_CREDS_PATH (was: "/runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json")
2022-06-07T12:01:04.1747579Z
2022-06-07T12:01:04.1749218Z ##[warning]Overwriting existing environment variable CLOUDSDK_CORE_PROJECT (was: "corporation-project")
2022-06-07T12:01:04.1750851Z ##[warning]Overwriting existing environment variable CLOUDSDK_PROJECT (was: "corporation-project")
2022-06-07T12:01:04.1752476Z ##[warning]Overwriting existing environment variable GCLOUD_PROJECT (was: "corporation-project")
2022-06-07T12:01:04.1754238Z ##[warning]Overwriting existing environment variable GCP_PROJECT (was: "corporation-project")
2022-06-07T12:01:04.1756051Z ##[warning]Overwriting existing environment variable GOOGLE_CLOUD_PROJECT (was: "corporation-project")
2022-06-07T12:01:04.3379937Z
2022-06-07T12:01:04.3386720Z
2022-06-07T12:01:04.3481775Z ##[group]Run google-github-actions/get-gke-credentials@v0
2022-06-07T12:01:04.3482160Z with:
2022-06-07T12:01:04.3482479Z   cluster_name: corporation-gke-test-usc1
2022-06-07T12:01:04.3482823Z   location: us-central1
2022-06-07T12:01:04.3483406Z   project_id: corporation-gke-test
2022-06-07T12:01:04.3483754Z   use_auth_provider: false
2022-06-07T12:01:04.3484072Z   use_internal_ip: false
2022-06-07T12:01:04.3484360Z env:
2022-06-07T12:01:04.3484869Z   CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE: /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:04.3485730Z   GOOGLE_APPLICATION_CREDENTIALS: /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:04.3486484Z   GOOGLE_GHA_CREDS_PATH: /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json
2022-06-07T12:01:04.3487046Z   CLOUDSDK_CORE_PROJECT: corporation-project
2022-06-07T12:01:04.3487454Z   CLOUDSDK_PROJECT: corporation-project
2022-06-07T12:01:04.3488052Z   GCLOUD_PROJECT: corporation-project
2022-06-07T12:01:04.3488442Z   GCP_PROJECT: corporation-project
2022-06-07T12:01:04.3488825Z   GOOGLE_CLOUD_PROJECT: corporation-project
2022-06-07T12:01:04.3489373Z   KUBECONFIG: /runner/_work/github-actions-workflows/github-actions-workflows/6d1cc3a8ec374ad41e3ba108
2022-06-07T12:01:04.3489791Z ##[endgroup]
2022-06-07T12:01:04.5209158Z ##[error]google-github-actions/get-gke-credentials failed with: the file at /runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json does not exist, or it is not a file. ENOENT: no such file or directory, lstat '/runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-3564f02aca6c3ea0.json'
2022-06-07T12:01:04.5380902Z Post job cleanup.
2022-06-07T12:01:04.5453823Z Post job cleanup.
2022-06-07T12:01:04.6466590Z Removed exported credentials at "/runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-9edd3bec8b18d73b.json".
2022-06-07T12:01:04.6632635Z Post job cleanup.
2022-06-07T12:01:04.8359802Z [command]/usr/bin/git version
2022-06-07T12:01:04.8479380Z git version 2.36.0
2022-06-07T12:01:04.8597183Z Temporarily overriding HOME='/runner/_work/_temp/16f15e7d-7f95-4173-89df-69f0a981f6d8' before making global git config changes
2022-06-07T12:01:04.8598352Z Adding repository directory to the temporary git global config as a safe directory
2022-06-07T12:01:04.8605208Z [command]/usr/bin/git config --global --add safe.directory /runner/_work/github-actions-workflows/github-actions-workflows
2022-06-07T12:01:04.8670755Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-06-07T12:01:04.8726369Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2022-06-07T12:01:04.9110207Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2022-06-07T12:01:04.9170012Z http.https://github.com/.extraheader
2022-06-07T12:01:04.9176125Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2022-06-07T12:01:04.9232814Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2022-06-07T12:01:05.0002587Z Post job cleanup.
2022-06-07T12:01:05.0055904Z Post job cleanup.
2022-06-07T12:01:05.0896115Z No exported credentials were found at "/runner/_work/github-actions-workflows/github-actions-workflows/gha-creds-9edd3bec8b18d73b.json".
2022-06-07T12:01:05.1085500Z Post job cleanup.
2022-06-07T12:01:05.2823823Z [command]/usr/bin/git version
2022-06-07T12:01:05.2900828Z git version 2.36.0
2022-06-07T12:01:05.2963971Z Temporarily overriding HOME='/runner/_work/_temp/251a2123-b71d-47b8-a53b-32261bd00028' before making global git config changes
2022-06-07T12:01:05.2965157Z Adding repository directory to the temporary git global config as a safe directory
2022-06-07T12:01:05.2971937Z [command]/usr/bin/git config --global --add safe.directory /runner/_work/github-actions-workflows/github-actions-workflows
2022-06-07T12:01:05.3032256Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-06-07T12:01:05.3110905Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2022-06-07T12:01:05.3811090Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2022-06-07T12:01:05.3866221Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2022-06-07T12:01:05.4575947Z Post job cleanup.
2022-06-07T12:01:05.6295310Z [command]/usr/bin/git version
2022-06-07T12:01:05.6345800Z git version 2.36.0
2022-06-07T12:01:05.6402402Z Temporarily overriding HOME='/runner/_work/_temp/711d9b08-88ea-4990-b1d5-bb55d10fca1e' before making global git config changes
2022-06-07T12:01:05.6403342Z Adding repository directory to the temporary git global config as a safe directory
2022-06-07T12:01:05.6408283Z [command]/usr/bin/git config --global --add safe.directory /runner/_work/github-actions-workflows/github-actions-workflows
2022-06-07T12:01:05.6456325Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-06-07T12:01:05.6503283Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2022-06-07T12:01:05.6807771Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2022-06-07T12:01:05.6880471Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2022-06-07T12:01:05.8144148Z Cleaning up orphan processes

Additional information

Not super experienced with github-actions. Not sure, if composite actions have some limitations that could cause this. Not sure, if this is a problem with this action or perhaps the "auth" action or perhaps an issue with github actions itself or an user error.

bharathkkb commented 2 years ago

Thanks for the report @rellu. I believe your observations are correct and the Overwriting existing environment variable GOOGLE_GHA_CREDS_PATH is not actually overwriting. This does looks like an upstream issue https://github.com/actions/runner/issues/1899

rellu commented 2 years ago

Thanks for the report @rellu. I believe your observations are correct and the Overwriting existing environment variable GOOGLE_GHA_CREDS_PATH is not actually overwriting. This does looks like an upstream issue actions/runner#1899

thanks for the link! It clearly looks like an upstream issue. Should we close this then?

sethvargo commented 2 years ago

I've tagged it as upstream

sethvargo commented 1 year ago

Closing as the upstream issue has been fixed: https://github.com/actions/runner/pull/1794