Validate use when validating GitHub Actions workflows for Google Cloud and Vertex AI deployments. Trigger with phrases like "validate github actions", "setup workload identity federation", "github actions security", "deploy agent with ci/cd", or "automate vertex ai deployment". Enforces Workload Identity Federation (WIF), validates OIDC permissions, ensures least privilege IAM, and implements security best practices.
SkillScore87Maintained
Automatic
◆DevOps & SRE packdevopsdeploymentgcp
Last verified 8/30/2026
What it changes
Passed 20 of 23 test cases with the skill, and 18 of 23 without it.
Without skill78%
With skill87%
Checks it passed that the model alone missed
Includes a secret detection scanning step in the workflow.
Includes a post-deployment validation step to verify the deployment state.
Recommends storing sensitive identifiers like GCP_PROJECT_ID in GitHub secrets.
2 fixed18 passed either way3 still failing0 broke
Pass-rate lift
+9 pp
Tokens
+17%
Agent turns
0%
Response time
-4%
Model gemini-3.6-flashMeasured 8/30/2026v120 of 23 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 2
Prompt
I am deploying a Vertex AI model using GitHub Actions, but my current pipeline relies on static service account JSON keys. Could you review my workflow files, check for credential and IAM vulnerabilities, and generate a hardened pipeline configuration that utilizes Google Cloud Workload Identity Federation?
What was checked, without and with the skill
Checked
Without skill
With skill
Configures workflow permissions with id-token set to write.
Passed
Passed
Includes a secret detection scanning step in the workflow.
Missed
Passed
Includes a post-deployment validation step to verify the deployment state.
Missed
Passed
case-01 · gemini-3.6-flash · 8/30/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md52 lines7 filesincludes scripts
Gh Actions Validator
Overview
Validate and harden GitHub Actions workflows that deploy to Google Cloud (especially Vertex AI) using Workload Identity Federation (OIDC) instead of long-lived service account keys. Use this to audit existing workflows, propose a secure replacement, and add CI checks that prevent common credential and permission mistakes.
Prerequisites
Before using this skill, ensure:
GitHub repository with Actions enabled
Google Cloud project with billing enabled
gcloud CLI authenticated with admin permissions
Understanding of Workload Identity Federation concepts
GitHub repository secrets configured
Appropriate IAM roles for CI/CD automation
Instructions
Audit Existing Workflows: Scan .github/workflows/ for security issues
Validate WIF Usage: Ensure no JSON service account keys are used
Check OIDC Permissions: Verify id-token: write is present
Review IAM Roles: Confirm least privilege (no owner/editor roles)
Add Security Scans: Include secret detection and vulnerability scanning
Validate Deployments: Add post-deployment health checks
Configure Monitoring: Set up alerts for deployment failures
Document WIF Setup: Provide one-time WIF configuration commands
Output
- uses: actions/checkout@v4
- name: Authenticate to GCP (WIF)
- name: Deploy to Vertex AI
--project=${{ secrets.GCP_PROJECT_ID }} \
--region=us-central1
- name: Validate Deployment
Error Handling
See ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error handling.