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

fix: main workflow apply access #6

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

rcwbr
Copy link
Owner

@rcwbr rcwbr commented Oct 8, 2024

Closes #5

Bug behavior

The GCP auth step in the GitHub Actions workflow shows:

Error: google-github-actions/auth failed with: failed to generate Google Cloud OAuth 2.0 Access Token for [email protected]: {
  "error": {
    "code": 403,
    "message": "Permission 'iam.serviceAccounts.getAccessToken' denied on resource (or it may not exist).",
    "status": "PERMISSION_DENIED",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.ErrorInfo",
        "reason": "IAM_PERMISSION_DENIED",
        "domain": "iam.googleapis.com",
        "metadata": {
          "permission": "iam.serviceAccounts.getAccessToken"
        }
      }
    ]
  }
}

Expected behavior

Successful GCP auth when merging to main.

@rcwbr rcwbr added the bug Something isn't working label Oct 8, 2024
@rcwbr rcwbr self-assigned this Oct 8, 2024
@rcwbr rcwbr linked an issue Oct 8, 2024 that may be closed by this pull request
@rcwbr rcwbr merged commit 00944fc into main Oct 8, 2024
4 checks passed
@rcwbr rcwbr deleted the 5-workflow-gcp-auth-iam_permission_denied branch October 8, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workflow GCP auth IAM_PERMISSION_DENIED
1 participant