Repository navigation
gh-aw
Public
About
GitHub Agentic Workflows
gh.io/gh-aw
Topics
actions cai ci claude-code codex copilot gh-extension github-actions
Resources
Readme
MIT license
Code of conduct
Code of conduct
Contributing
Contributing
Security policy
Security policy
Activity
Custom properties
Stars
5.8k stars
Watchers
64 watching
Forks
667 forks
Report repository
Branches
Tags
Go to Branches page Go to Tags page
Latest commit
History
21,383 Commits
View commit history for this file.
Folders and files
Repository files navigation
GitHub Agentic Workflows
Agent quick links
Hello fellow agent! Welcome to GitHub Agentic Workflows = Actions + Agent + Safety.
Here are some pointers to get you started in using this tool.
GitHub Agentic Workflows (gh-aw) lets developers define AI-powered repository automation in Markdown with YAML frontmatter and run AI agents securely through GitHub Actions. The gh-aw GitHub CLI extension compiles each agentic workflow into a standard GitHub Actions workflow.
Use conventional GitHub Actions for deterministic builds, tests, linting, deployments, and reproducible scripts. Add an agentic workflow when a task needs reasoning or interpretation, such as issue triage, pull-request review, CI failure investigation, documentation maintenance, dependency analysis, or repository reporting. GitHub Agentic Workflows complements existing CI/CD; it does not replace it.
Built-in AI engines include GitHub Copilot, Claude Code, OpenAI Codex, Google Gemini, and Pi. Agent jobs are read-only and sandboxed by default, and configured GitHub writes are normally applied through validated safe-outputs jobs with scoped permissions.
Contents
Note
A security vulnerability was discovered in versions >= 0.83.3, < 0.85.4 and, as a result, those releases were retired as a pre-emptive measure.
Quick Start
Install the GitHub CLI extension:
gh extension install github/gh-aw
Then follow the GitHub Agentic Workflows quickstart to select an AI engine, add a sample workflow, and run it through GitHub Actions.
How Agentic Workflows work
An agentic workflow has two parts: YAML frontmatter configures triggers, permissions, tools, and the AI engine; the Markdown body tells the AI agent what to accomplish. The gh aw compile command validates this source and generates the .lock.yml workflow that GitHub Actions executes. Learn how GitHub Agentic Workflows works .
Security and permissions
Security, permissions, and controlled writes are core design concerns. The supported agent-job path defaults to read-only GitHub access and sandboxed execution. Safe outputs buffer configured writes, validate them, and apply them in separate jobs with scoped permissions. These controls are configurable, so workflow authors must review permissions, tools, network access, and generated files before deployment. Learn how GitHub Agentic Workflows handles security and permissions .
Using agentic workflows in your repository requires careful attention to security considerations and careful human supervision, and even then things can still go wrong. Use it with caution, and at your own risk.
Documentation
Use the GitHub Agentic Workflows documentation for these paths:
For AI agents and retrieval tools, use the published agent prompt index , full prompt corpus , and AI-readable project summary .
Contributing
For development setup and contribution guidelines, see CONTRIBUTING.md .
Custom Go linters
To build and test repository custom linters:
go test ./pkg/linters/<linter-name>/...
go build ./cmd/linters
make golint-custom
make golint-custom builds cmd/linters and runs the custom analyzers against ./cmd/... and ./pkg/....
🌍 Community Contributions
Community members whose issues were resolved -- updated automatically.
@a-sjogren-accenture (2)
@aaronspindler (1)
@abbottships (3)
@abillingsley (2)
@adam-cobb (1)
@adamhenson (2)
@adamtasteslikegood (1)
@Adarsh1999 (1)
@adhikjoshi (1)
@aharper-srsacquiom (1)
@ahmadabdalla (1)
@ajfeldman6 (2)
@akkikumar72 (1)
@AkshatRaj00 (1)
@alanpeabody (1)
@alcastaneda (1)
@AlexanderWert (1)
@AlexDeMichieli (1)
@alexsiilvaa (2)
@alirezamirian (1)
@alondahari (19)
@alvistar (2)
@AmoebaChant (1)
@AnandhaSivam-00 (1)
@angelica-moreira (6)
@anthonyhull-ford (2)
@anthonymastreanvae (11)
@aoxiangtianyu-go (1)
@apenab (1)
@arabkin (1)
@arezero (6)
@Arithmomaniac (1)
@arthurfvives (8)
@Artur- (1)
@asatara (1)
@askpaisa (1)
@askpt (1)
@astefan (1)
@awoisoak (1)
@b-dantas (1)
@b2pacific (1)
@babaakihiro (2)
@bartul (1)
@bbonafed (23)
@beardofedu (1)
@beingminimal (1)
@benissimo (20)
@BenjaminMichaelis (2)
@benvillalobos (12)
@bindsi (1)
@bjartenilsen (1)
@blavity-machine-user (1)
@blozano-tt (11)
@bmerkle (3)
@boydj (2)
@Bra1nFartz (1)
@BrandonLewis (1)
@brendanlapuma (1)
@bryanchen-d (25)
@bryanknox (1)
@bshore-bf (1)
@Calidus (9)
@camposbrunocampos (2)
@carlincherry (1)
@carlosflorencio (1)
@CatsMiaow (2)
@chepa92 (1)
@chrisfregly (2)
@chrizbo (7)
@CiscoRob (2)
@CKGrafico (1)
@ckittel (4)
@cknight (2)
@clementbolin (1)
@cogni-ai-ee (2)
@consulthys (3)
@Corb3nik (3)
@corygehr (22)
@corymhall (2)
@cristiano-turba (2)
@crmitchelmore (3)
@DaanLucas (1)
@dagecko (1)
@Daidanny008 (1)
@Dan-Albrecht (1)
@Dan-Co (2)
@danielmarbach (1)
@danielmeppiel (9)
@danquirk (4)
@darwin-gonzales (1)
@davep95 (1)
@David-Taylor-Aurora (1)
@davidkarlsen (1)
@davidRchSenacor (1)
@davidslater (4)
@dbudym-cs (1)
@DeagleGross (6)
@dessertcode (1)
@devantler (2)
@deyaaeldeen (10)
@dfrysinger (2)
@dgolombek (1)
@dholmes (3)
@dhrapson (2)
@DimaBir (1)
@DjShah99 (1)
@dkurepa (1)
@dneimke (1)
@DogeAmazed (1)
@Dongbumlee (2)
@doughgle (1)
@drehelis (4)
@DrPye (1)
@dsfaccini (14)
@dsibilio (4)
@dsolteszopyn (2)
@dsyme (44)
@duncankmckinnon (1)
@eaftan (3)
@edburns (1)
@edgeq (2)
@eedorenko (3)
@ekbritecore (31)
@elefthei (1)
@elika56 (1)
@emexelem (1)
@enbw-mmattes (1)
@envygit-bot (3)
@eran-medan (1)
@ericchansen (1)
@ericstj (2)
@Esomoire-consultancy-Company (1)
@Etienne-M (6)
@Evangelink (6)
@fbecar22 (3)
@fchareyr (1)
@FDevTakima (1)
@ferryhinardi (1)
@flatiron32 (2)
@florianbader (1)
@foolishsailor (1)
@fr4nc1sc0-r4m0n (6)
@funkymonkeyjam (2)
@G1Vh (1)
@GandrotulaRajesh (1)
@gh-antoine-brechon (4)
@github-actions (11)
@GKersten (1)
@glitch-ux (1)
@golivax (2)
@grahame-white (9)
@graphaelli (1)
@GregoireW (2)
@gregsmi (2)
@h-no (1)
@h3y6e (2)
@haavamoa (1)
@haolpku (1)
@HardMax71 (2)
@harrisoncramer (2)
@heaversm (1)
@heiskr (9)
@hermanho (1)
@holwerda (3)
@holymaloney (1)
@hpsin (1)
@hrishikeshathalye (1)
@ianreay (1)
@IEvangelist (14)
@igolaizola (3)
@ilja (5)
@Infinnerty (1)
@insop (1)
@ivancea (11)
@j-srodka (6)
@JaganGopalkrish (1)
@jamesadevine (4)
@JamesNK (5)
@Janik135 (1)
@JanKrivanek (4)
@Janpot (2)
@JanProvaznik (1)
@jansdhillon (2)
@jaroslawgajewski (47)
@JasonYeMSFT (2)
@Jasper13006 (1)
@jbaruch (1)
@jcooklin (1)
@jeffhandley (12)
@JeffreyCA (5)
@jeremiah-snee-openx (1)
@jeremymeng (1)
@jfomhover (1)
@jhamon (2)
@jiec-msft (1)
@jitran (6)
@JKamsker (1)
@jkim323 (1)
@jkupaMSFT (1)
@joesturge (1)
@johndowns (2)
@JohnMarsden24 (2)
@johnpreed (5)
@johnwilliams-12 (15)
@jonas-harmoney (2)
@jonathanpeppers (5)
@joperezr (1)
@JoshGreenslade (2)
@joshjohanning (1)
@joshuadavidson (1)
@jpelgrom (1)
@jsalmassy (1)
@jsoref (2)
@jsphstls (1)
@jsquire (1)
@jtaylorisbell (1)
@jtracey93 (1)
@JTrillo (1)
@kaovilai (4)
@karl-petter-sj (1)
@katriendg (1)
@kaush (1)
@KB1RMA (1)
@kbreit-insight (5)
@kdowswell (6)
@KGoovaer (1)
@kkruel8100 (4)
@Knufle (1)
@Krzysztof-Cieslak (1)
@kthompson (1)
@kubaflo (1)
@KushnirT (1)
@l-trotta (1)
@labudis (2)
@ladamski (1)
@laysa-enmacc (1)
@lbenie (1)
@lecoursen (1)
@lfgcampos (1)
@lilseyi (2)
@lindeberg (1)
@lkraav (1)
@loganrosen (11)
@look (1)
@lpcox (8)
@ludoviclafole (1)
@lukeed (1)
@lumaxis (1)
@lupinthe14th (3)
@lutztech-ml (1)
@lw396 (1)
@lxghtless (1)
@m-titov (1)
@maikelvdh (2)
@marekjagielski (3)
@mark-hingston (1)
@mason-tim (10)
@massirr (1)
@matiloti (4)
@mattcosta7 (1)
@mattfrear (1)
@MatthewBunker (2)
@MatthewLabasan-NBCU (2)
@MattSkala (17)
@MauroDruwel (4)
@mavam (1)
@maxbeizer (1)
@maxknv (1)
@mcantrell (1)
@mdashrraf (1)
@MH0386 (2)
@mhavelock (1)
@michen00 (2)
@microsasa (13)
@misrarim (1)
@mlinksva (1)
@mmatur (2)
@mmeeuwa (1)
@mnkiefer (13)
@molson504x (2)
@Mossaka (3)
@mrfelton (5)
@mrjf (7)
@MrSanchez (1)
@MSroczynski3 (1)
@mstrathman (1)
@mthalman (1)
@mur6 (1)
@Muradbarakat1986 (1)
@MureedSultan (2)
@mvdbos (2)
@mwpastore (2)
@myaschmitz (1)
@NadyaDrozdova (1)
@nateberkopec (1)
@nestele (2)
@neta-vega (3)
@Nick-VdP (3)
@NicoAvanzDev (3)
@NicolasRannou (1)
@niebloomj (12)
@nihal467 (1)
@Nikhil-Anand-DSG (1)
@NikolajBjorner (2)
@nmeisenzahl (1)
@nodecoda (1)
@norrietaylor (12)
@not-mksv (3)
@ns-jcavarroc (1)
@octatone (1)
@olaservo (1)
@oscarvalenzuelab (1)
@patrickmontalto (1)
@PaulAylward2 (1)
@paxw-panevo (1)
@peter-hendy (1)
@petercort (1)
@pethers (1)
@pgaskin (1)
@pholleran (4)
@Phonesis (1)
@pickypg (1)
@Pierrci (1)
@plengauer (1)
@pmalarme (1)
@polmichel (2)
@ppusateri (1)
@praveenkuttappan (1)
@prinsloopieter (1)
@prpercival (2)
@PureWeen (10)
@pvds (2)
@qwert666 (1)
@r-garcia-de-oliveira (2)
@rabeckett (2)
@rabo-unumed (4)
@racedale (1)
@radiantspace (3)
@rafael-unloan (1)
@rbstp (5)
@rdoume (1)
@reggie-k (4)
@remypanicker (1)
@rhardouin (4)
@ricohomewood (3)
@rmarinho (1)
@robertdewilde-dev (1)
@robinmam (1)
@romainh-betclic (3)
@rspurgeon (4)
@Rubyj (3)
@ruokun-niu (1)
@ryckmansm (2)
@sabbasi3 (2)
@SadriG91 (1)
@salekseev (3)
@salmanmkc (1)
@samuelkahessay (30)
@samus-aran (1)
@SanthoshNandha (2)
@sbodapati-gfm (1)
@seangibeault (4)
@sebastianbiallas (1)
@seesharprun (9)
@sg650 (17)
@shaeck (1)
@shawnHartsell (1)
@Shazwazza (2)
@shbernal (2)
@shea-parkes (1)
@shiran-gutsy (1)
@sholub-dev (1)
@shubhamtanwar23 (3)
@sigh71 (4)
@SivaKesava1 (7)
@siyo-rms (1)
@soarkit (3)
@srgibbs99 (6)
@ssulei7 (1)
@stacktick (1)
@stefankrzyz (1)
@steliosfran (3)
@stephen2002119 (1)
@stephlocke (1)
@straub (6)
@strawgate (48)
@sudivate (10)
@suffianhamzah (1)
@susmahad (4)
@swimmesberger (1)
@syarihu (2)
@szabta89 (3)
@tadelesh (1)
@talk2MeGooseman (1)
@Tarekchehahde (3)
@tbrandenburg (1)
@ternarybits (1)
@tgrace-vl (1)
@thatapplefreak (1)
@theletterf (30)
@Thetanner (1)
@thi-feonir (1)
@ThomasStarkInc (1)
@timdittler (3)
@timjansenortec (3)
@tinytelly (1)
@tobio (1)
@tomasmed (1)
@tomforsell525 (1)
@tore-unumed (17)
@trask (4)
@tsm-harmoney (6)
@tsotnikov (1)
@tspascoal (2)
@tvu4-wowcorp (1)
@tylersmalley (1)
@ujjwalD16 (1)
@UncleBats (2)
@v1v (9)
@verkyyi (2)
@veverkap (3)
@ViktorHofer (3)
@virenpepper (1)
@vishalagrawal-jisr (2)
@vrumiantsev (1)
@whoschek (1)
@WilliamBerryiii (5)
@williammartin (2)
@wizardofosmium (1)
@wolfgangcolsman (1)
@wtgodbe (4)
@xirzec (1)
@xpepper (1)
@yaananth (1)
@yldgio (1)
@YoavLax (1)
@yosuakoeswandy (1)
@Yoyokrazy (3)
@yskopets (53)
@YuliiaKovalova (1)
@zarenner (5)
@ZhouZihan37 (1)
@zkoppert (2)
Workshop
Tip
Ready to learn GitHub Agentic Workflows hands-on? The Factory Tour Workshop is a self-contained, step-by-step workshop repository designed to teach you how to build, run, and customize agentic workflows from scratch.
About
GitHub Agentic Workflows
gh.io/gh-aw
Topics
actions cai ci claude-code codex copilot gh-extension github-actions
Resources
Readme
MIT license
Code of conduct
Code of conduct
Contributing
Contributing
Security policy
Security policy
Activity
Custom properties
Stars
5.8k stars
Watchers
64 watching
Forks
667 forks
Report repository
Releases
Packages
Used by
Contributors
Languages