1
0
mirror of synced 2025-12-30 03:01:36 -05:00
Commit Graph

230 Commits

Author SHA1 Message Date
Ross Williams
50930ff31c Specify return value for undefined properties in workflow contexts (#17089) 2022-04-22 19:47:03 +01:00
Lucas Costi
c126eed09c Add "About workflows" article (#26520) 2022-04-22 07:09:59 +00:00
Uncle Jake
a471ee7ad5 Fix wrong component name
- the hashtag doesn't work
- change the component name "job" to "workflow"
2022-04-18 00:02:22 +09:00
KD
3c11a30791 typo
The code uses actions/checkout v3 as opposed to v2
2022-04-08 19:18:03 -04:00
Lucas Costi
b49c768777 Version actions for GHES, use reusables (#26004)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
2022-04-01 09:36:17 +10:00
Kurt von Laven
4ce6cfff28 Add example for object filter on object.
There was already an example for using an object filter on an array.
Clarify that object filters can be used on objects as well and that the
result is an array, not an object.
2022-03-19 18:31:49 -07:00
Sarah Edwards
83d8d82b09 Merge branch 'main' into joshjohanning-update-container-contexts 2022-03-11 14:46:37 -08:00
Ramya Parimi
6ce27f4082 Merge branch 'main' into workflow-boolean-input-example 2022-03-10 13:57:11 -06:00
Ramya Parimi
5048139518 Merge branch 'main' into action_status-context 2022-03-09 13:04:03 -06:00
Ramya Parimi
8baa02f0bf Merge branch 'main' into action_status-context 2022-03-08 11:01:38 -06:00
Ramya Parimi
c4ecbf8bc0 Merge branch 'main' into patch-4 2022-03-08 09:16:38 -06:00
Sophie
73aad78f9e Merge branch 'main' into workflow-boolean-input-example 2022-03-08 10:46:52 +01:00
Josh Johanning
6143d55e05 adding env to container 2022-03-07 13:01:11 -06:00
Matt Pollard
d2012d5f8e Add guide for enterprise-level self-hosted runners with GitHub Actions (#25123) 2022-03-04 10:46:10 +01:00
Jonathan Tamsut
d04e4046ae bump version for upload-artifact and download-artifact code snippets (#25782) 2022-03-04 10:17:09 +10:00
Thomas Evans
a4a6613935 Update Workflow Input examples to include boolean 2022-03-03 14:26:47 -05:00
Robert Sese
79c48070c4 Deprecate 3.0 (#25646)
* Deprecate 3.0

* 3.0 deprecation: remove 3.0 markup (#25647)

* Remove liquid conditionals and content for 3.0 deprecation

* Remove manually, no longer versioned in a supported version

* Remove translations manually, no longer versioned in a supported version

* Remove 'if', now in all supported versions

* Remove dangling 'elseif', now in all supported versions

* Remove dangling 'elseif' and 3.0 screenshot reference, now in all supported versions

* Nudge to latest supported GHES version

* Nudge to latest supported release GHES version

* Bump all the version for the liquid tests

* Bump first deprecated version for linting tests

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Remove extra newline

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Remove extra newline

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Remove extra newline

Co-authored-by: Laura Coursen <lecoursen@github.com>

* One reusable per line

Co-authored-by: Laura Coursen <lecoursen@github.com>

* One reusable per line

Co-authored-by: Laura Coursen <lecoursen@github.com>

* One reusable per line

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Don't depend on hardcoded versions

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Remove static files for 3.0 deprecation (#25649)

Co-authored-by: Laura Coursen <lecoursen@github.com>
2022-03-03 13:08:24 -06:00
Ramya Parimi
b308a42edf Merge branch 'main' into patch-4 2022-03-03 07:45:34 -06:00
Ramya Parimi
734ed76e5f Merge branch 'main' into action_status-context 2022-03-03 07:38:59 -06:00
Sarah Edwards
2682eeb723 add word 2022-03-02 16:35:14 -08:00
Nikola Jokic
087c91e0be Added explanation about hashFiles returning an empty string (#15719)
Co-authored-by: Edward Thomson <ethomson@github.com>
2022-03-03 00:31:37 +00:00
Sarah Edwards
5ef12e6570 Merge branch 'main' into action_status-context 2022-03-02 16:25:31 -08:00
Vanessa
d1c7679836 Merge branch 'main' into patch-2 2022-03-02 12:09:45 +10:00
Octomerger Bot
6254af46ee Merge branch 'main' into repo-sync 2022-03-01 02:04:03 -08:00
Antoine Méausoone
2b5dab3f7b docs: fix whitespace templating issue in github table 2022-02-28 09:27:29 +01:00
Sophie
c9258a8498 Merge branch 'main' into sophie-5758 2022-02-25 16:01:19 +01:00
Sophie
50c0b2d0b0 Removed duplicate actions reusable folder 2022-02-25 15:51:14 +01:00
Edward Thomson
382a299277 actions: update version support for context.run_attempt (#25651)
Co-authored-by: hubwriter <hubwriter@github.com>
2022-02-25 10:38:18 +00:00
Uncle Jake
9d5c471b3f Add vertical bars("|") to the missing points
It is better to add vertical bars("|") although it doesn't affect to view
2022-02-25 17:47:31 +09:00
Tom Elliott
89fa131844 Remove extra use of 'repository'. (#15556) 2022-02-25 05:50:48 +00:00
Daniel Compton
3e4ad2e15e Clarify GITHUB_REF for PRs (#15304) 2022-02-18 00:27:11 +00:00
Tauhid Anjum
cd08699c4b Action redirects being depricated message added (#25367)
Co-authored-by: Sarah Edwards <skedwards88@github.com>
2022-02-17 21:41:54 +00:00
Vanessa
4b8b75e337 GitHub Enterprise Server 3.4 release candidate (#24754)
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Vanessa <vgrl@github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Lars Schneider <larsxschneider@github.com>
Co-authored-by: Jared Murrell <primetheus@github.com>
Co-authored-by: Jules Parker <19994093+jules-p@users.noreply.github.com>
Co-authored-by: Docubot <67483024+docubot@users.noreply.github.com>
Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: Sarita Iyer <saritai@github.com>
Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com>
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
Co-authored-by: Steve Guntrip <stevecat@github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Lars Schneider <larsxschneider@github.com>
Co-authored-by: Jared Murrell <primetheus@github.com>
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
2022-02-15 13:40:37 -05:00
Mike Carey
e103e625cf Rewords the description 2022-02-15 11:37:17 -06:00
Mike Carey
6798775cd2 Update contexts.md 2022-02-15 11:25:33 -06:00
Daniel Compton
cbb32c5928 Explain that GITHUB_SHA may not always be the commit that was pushed
Fixes https://github.com/github/docs/issues/15302
2022-02-15 13:33:40 +13:00
Josh Johanning
8811a0d6e7 listing secrets as being available in job.container 2022-02-08 12:51:55 -06:00
Anil Seervi
bc7e8b83c7 📝 Clarify usage of single quotes in string datatype for literals (#14895) 2022-02-08 13:08:51 +00:00
Matt Pollard
52f0a069a1 Bug fixes for Enterprise content, 2022-01-28 (#24798) 2022-02-03 11:29:07 +00:00
Sarita Iyer
c13b698888 Merge branch 'main' into dependabot-graph-actions 2022-01-31 11:31:08 -05:00
Laura Coursen
750f54632b Add conceptual content about GitHub Actions for enterprises (#24474) 2022-01-31 08:31:28 -06:00
Lucas Costi
46f7eea786 Action metadata syntax: set higher max heading for TOC, consistency fixes (#24827) 2022-01-31 03:31:51 +00:00
Sarita Iyer
16cd253b48 updates based on feedback 2022-01-27 15:32:13 -05:00
Thomas Boop
f1f4532f0e Update Composite Versioning (#24589)
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
2022-01-26 20:35:48 +00:00
Sarita Iyer
cb4855c5cd Apply suggestions from code review
Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
2022-01-26 10:50:46 -05:00
Sarita Iyer
7308b6b39c use reusable for Actions 2022-01-25 15:53:38 -05:00
Sarita Iyer
570d19de05 add links in Actions articles 2022-01-25 15:45:30 -05:00
Ramya Parimi
e442894d8f Fixing Vale errors in source round 2 (#24393)
* edited reprovision sentence

* vale errors

* fix vale errors

* vale errors

* revert change

* Update content/actions/automating-builds-and-tests/building-and-testing-nodejs.md

Co-authored-by: Vanessa <vgrl@github.com>

* Update content/actions/deployment/deploying-to-your-cloud-provider/deploying-to-google-kubernetes-engine.md

Co-authored-by: Vanessa <vgrl@github.com>

* Update content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-hashicorp-vault.md

Co-authored-by: Vanessa <vgrl@github.com>

* Update content/organizations/managing-saml-single-sign-on-for-your-organization/managing-team-synchronization-for-your-organization.md

Co-authored-by: Vanessa <vgrl@github.com>

Co-authored-by: Vanessa <vgrl@github.com>
2022-01-24 20:19:41 +00:00
hubwriter
2e5ea5cc83 Improve Actions docs on environment variables (#24246)
* Begin work on PR

* Modify intro section

* Add details of contexts

* More details added

* Fix broken link

* Fix liquid error

* More WiP

* More WiP changes

* add env var examples

* Finish initial draft of env vars article update

* Fix versioning in table

* Add remaining examples

* Another WiP tweak

* More WiP changes

* More WiP changes

* More WiP changes

* More WiP changes

* More WiP changes

* Add <nobr> to things

* Finish updating other articles

* test line breaks

* Remove previous test

* Update links to files now moved

* Rebplace nobr with spans

* Another test

* Remove the previous test

* Remove misleading note.

This note box was added by an OS contributor
https://github.com/github/docs/pull/9236/files
but is, at best, misleading.

Environment variables *can* be referenced directly within
a run command as  and do *not* have to be
referenced via the SHELL=/usr/local/bin/bash
ITERM_PROFILE=Default
COLORTERM=truecolor
XPC_FLAGS=0x0
NVM_INC=/Users/alistair/.nvm/versions/node/v12.8.0/include/node
TERM_PROGRAM_VERSION=3.4.14
GIT_PS1_SHOWUPSTREAM=verbose git
__CFBundleIdentifier=com.googlecode.iterm2
SSH_AUTH_SOCK=/var/folders/bh/jrv856xx31zfmhc60chqvxqw0000gn/T//ssh-7EnftFpl4aXq/agent.77591
GIT_PS1_SHOWDIRTYSTATE=1
TERM_SESSION_ID=w2t0p0:9F68FC35-8DB9-4051-A7C6-5E61A2C37694
HOMEBREW_AUTO_UPDATE_SECS=3600
RBENV_SHELL=bash
SSH_AGENT_PID=77592
ITERM_PREV_PS1=\[]133;D;$?]133;A\]\[\033[1;36m\]\w\[\033[0m\] \[\033[1;32m\]$(__git_ps1)\[\033[0m\]
\$ \[]133;B\]
GPG_TTY=/dev/ttys002
EDITOR=vi
ITERM_ORIG_PS1=\[\033[1;36m\]\w\[\033[0m\] \[\033[1;32m\]$(__git_ps1)\[\033[0m\]
\$
PWD=/Users/alistair/git-repos/docs-internal
LOGNAME=alistair
COMMAND_MODE=unix2003
NODENV_SHELL=bash
ITERM_SESSION_ID=w2t0p0:9F68FC35-8DB9-4051-A7C6-5E61A2C37694
HOME=/Users/alistair
LANG=en_GB.UTF-8
LS_COLORS=di=1;0;42:fi=0:ln=31:pi=5:so=5:bd=5:cd=5:or=31:mi=0:ex=35;40:*.rpm=90
TMPDIR=/var/folders/bh/jrv856xx31zfmhc60chqvxqw0000gn/T/
LC_TERMINAL=iTerm2
NVM_DIR=/Users/alistair/.nvm
TOKEN=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
TERM=xterm-256color
USER=alistair
COLORFGBG=15;0
LC_TERMINAL_VERSION=3.4.14
SHLVL=0
NVM_CD_FLAGS=
XPC_SERVICE_NAME=0
PS1=\[\033[1;36m\]\w\[\033[0m\] \[\033[1;32m\]$(__git_ps1)\[\033[0m\]
\$
PATH=/Users/alistair/git-repos/awssume/bin:/Users/alistair/git-repos/awssume/bin:/Users/alistair/.gem/ruby/2.7.0/bin:/Users/alistair/.rbenv/shims:/Users/alistair/.nodenv/shims:/Users/alistair/.nvm/versions/node/v12.8.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/alistair/git-repos/github/bin:/Users/alistair/programming:/Applications/VMware Fusion.app/Contents/Public:/usr/local/MacGPG2/bin:/Library/Apple/usr/bin:/Users/alistair/.node/bin:/Users/alistair/.nodenv/versions/14.13.0/
NVM_BIN=/Users/alistair/.nvm/versions/node/v12.8.0/bin
OLDPWD=/Users/alistair/git-repos/docs-internal/lib
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x2
TERM_PROGRAM=iTerm.app
_=/usr/bin/env context.

Confirmed by an answer to a question in the c2c-actions
channel https://github.slack.com/archives/CDJAC532T/p1642154921002900

* Update content/actions/learn-github-actions/environment-variables.md

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Update content/actions/learn-github-actions/environment-variables.md

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Update content/actions/learn-github-actions/environment-variables.md

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Update content/actions/learn-github-actions/environment-variables.md

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Update content/actions/learn-github-actions/environment-variables.md

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Update content/actions/using-workflows/workflow-commands-for-github-actions.md

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Update content/actions/learn-github-actions/environment-variables.md

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Update content/actions/learn-github-actions/environment-variables.md

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Update content/actions/learn-github-actions/environment-variables.md

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Update content/actions/learn-github-actions/environment-variables.md

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Make remaining review comment changes

Co-authored-by: Laura Coursen <lecoursen@github.com>
2022-01-24 10:55:51 +00:00
Laura Coursen
86656c8e94 Share actions with your enterprise 2022-01-21 11:42:04 +00:00