CARVIEW |
Select Language
HTTP/2 301
content-length: 0
location: https://docs.github.com/en/actions/using-workflows
HTTP/2 301
access-control-allow-origin: *
content-security-policy: default-src 'none';prefetch-src 'self';connect-src 'self';font-src 'self' data:;img-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com data: placehold.it;object-src 'self';script-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' data:;script-src-attr 'self';frame-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com https://support.github.com https://www.youtube-nocookie.com;frame-ancestors 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com;style-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' 'unsafe-inline' data:;child-src 'self';manifest-src 'self';upgrade-insecure-requests;base-uri 'self';form-action 'self'
cross-origin-opener-policy: same-origin
cross-origin-resource-policy: same-origin
origin-agent-cluster: ?1
referrer-policy: no-referrer-when-downgrade
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
cache-control: public, max-age=60
location: /en/actions/how-tos/writing-workflows
content-type: text/plain; charset=utf-8
x-github-backend: Kubernetes
x-github-request-id: 6864:1161BC:5C0FA8:6B74A4:688260B3
accept-ranges: bytes
age: 0
date: Thu, 24 Jul 2025 16:35:00 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210076-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1753374899.927950,VS0,VE1343
vary: Accept
strict-transport-security: max-age=31557600
content-length: 71
HTTP/2 200
access-control-allow-origin: *
content-security-policy: default-src 'none';prefetch-src 'self';connect-src 'self';font-src 'self' data:;img-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com data: placehold.it;object-src 'self';script-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' data:;script-src-attr 'self';frame-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com https://support.github.com https://www.youtube-nocookie.com;frame-ancestors 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com;style-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' 'unsafe-inline' data:;child-src 'self';manifest-src 'self';upgrade-insecure-requests;base-uri 'self';form-action 'self'
cross-origin-opener-policy: same-origin
cross-origin-resource-policy: same-origin
origin-agent-cluster: ?1
referrer-policy: no-referrer-when-downgrade
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
cache-control: public, max-age=60
x-powered-by: Next.js
content-type: text/html; charset=utf-8
x-github-backend: Kubernetes
x-github-request-id: 72B0:3249D:1D884B:21D1E5:6882399B
content-encoding: gzip
accept-ranges: bytes
age: 10007
date: Thu, 24 Jul 2025 16:35:00 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210076-BOM
x-cache: HIT
x-cache-hits: 0
x-timer: S1753374900.284872,VS0,VE1
vary: Accept-Encoding
strict-transport-security: max-age=31557600
content-length: 32128
Writing workflows - GitHub Docs
Skip to main content
GitHub Docs
Search or ask Copilot
Select language: current language is English
Search or ask Copilot
Open menu
Open Sidebar
Writing workflows
GitHub Actions workflows can automate tasks throughout the software development lifecycle.
Using workflow templates
GitHub provides workflow templates for a variety of languages and tooling.
Choosing when your workflow runs
You can configure workflows to run on a schedule or to run when certain events happen.
Choosing where your workflow runs
You can specify the compute environment your jobs and workflows run in.
Choosing what your workflow does
Workflows automate tasks in your software development lifecycle. Many tasks that you manually complete can be converted to a GitHub Actions workflow.
Building and testing
You can automatically build and test your projects with GitHub Actions.