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.
Examples
See ${CLAUDE_SKILL_DIR}/references/examples.md for detailed examples.
WIF setup guide in ${CLAUDE_SKILL_DIR}/docs/wif-setup.md
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: jeremylongshore-claude-code-plugins-plus-skills-gh-actions-v3description: Gh Actions Validator4---5# Gh Actions Validator67## Overview89Validate 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.1011## Prerequisites1213Before using this skill, ensure:14- GitHub repository with Actions enabled15- Google Cloud project with billing enabled16- gcloud CLI authenticated with admin permissions17- Understanding of Workload Identity Federation concepts18- GitHub repository secrets configured19- Appropriate IAM roles for CI/CD automation2021## Instructions22231. **Audit Existing Workflows**: Scan .github/workflows/ for security issues242. **Validate WIF Usage**: Ensure no JSON service account keys are used253. **Check OIDC Permissions**: Verify id-token: write is present264. **Review IAM Roles**: Confirm least privilege (no owner/editor roles)275. **Add Security Scans**: Include secret detection and vulnerability scanning286. **Validate Deployments**: Add post-deployment health checks297. **Configure Monitoring**: Set up alerts for deployment failures308. **Document WIF Setup**: Provide one-time WIF configuration commands3132## Output3334 - uses: actions/checkout@v435 - name: Authenticate to GCP (WIF)36 - name: Deploy to Vertex AI37 --project=${{ secrets.GCP_PROJECT_ID }} \38 --region=us-central139 - name: Validate Deployment4041## Error Handling4243See `${CLAUDE_SKILL_DIR}/references/errors.md` for comprehensive error handling.4445## Examples4647See `${CLAUDE_SKILL_DIR}/references/examples.md` for detailed examples.4849## Resources5051- Workload Identity Federation: https://cloud.google.com/iam/docs/workload-identity-federation52- GitHub OIDC: https://docs.github.com/en/actions/deployment/security-hardening-your-deployments53- Vertex AI Agent Engine: https://cloud.google.com/vertex-ai/docs/agent-engine54- google-github-actions/auth: https://github.com/google-github-actions/auth55- WIF setup guide in ${CLAUDE_SKILL_DIR}/docs/wif-setup.md5657---58> Converted and distributed by [TomeVault](https://tomevault.io/claim/jeremylongshore) — claim your Tome and manage your conversions.59<!-- tomevault:4.0:skill_md:2026-04-11 -->
Run npx skillmds@latest add tomevault-io/jeremylongshore-claude-code-plugins-plus-skills-gh-actions-v in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Gh Actions Validator It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.