diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d97ac5b6..a463215c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -65,7 +65,7 @@ jobs: - id: 'setup-gcloud' name: 'setup-gcloud' - uses: 'google-github-actions/setup-gcloud@master' + uses: 'google-github-actions/setup-gcloud@main' - id: 'gcloud' name: 'gcloud' @@ -134,7 +134,7 @@ jobs: - id: 'setup-gcloud' name: 'setup-gcloud' - uses: 'google-github-actions/setup-gcloud@master' + uses: 'google-github-actions/setup-gcloud@main' - id: 'gcloud' name: 'gcloud' diff --git a/.gitignore b/.gitignore index fec82d79..079bc5ec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ node_modules/ runner/ -# Rest of the file pulled from https://github.com/github/gitignore/blob/master/Node.gitignore +# Rest of the file pulled from https://github.com/github/gitignore/blob/main/Node.gitignore # Logs logs *.log diff --git a/README.md b/README.md index 4099e04b..a834fe5e 100644 --- a/README.md +++ b/README.md @@ -616,9 +616,9 @@ mappings, see the [GitHub OIDC token documentation](https://docs.github.com/en/a ```json { "jti": "...", - "sub": "repo:username/reponame:ref:refs/heads/master", + "sub": "repo:username/reponame:ref:refs/heads/main", "aud": "https://iam.googleapis.com/projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider", - "ref": "refs/heads/master", + "ref": "refs/heads/main", "sha": "d11880f4f451ee35192135525dc974c56a3c1b28", "repository": "username/reponame", "repository_owner": "username", @@ -631,7 +631,7 @@ mappings, see the [GitHub OIDC token documentation](https://docs.github.com/en/a "base_ref": "", "event_name": "push", "ref_type": "branch", - "job_workflow_ref": "username/reponame/.github/workflows/token.yml@refs/heads/master", + "job_workflow_ref": "username/reponame/.github/workflows/token.yml@refs/heads/main", "iss": "https://token.actions.githubusercontent.com", "nbf": 1631718827, "exp": 1631719727,