1
0
mirror of synced 2026-01-04 09:06:46 -05:00
Commit Graph

50 Commits

Author SHA1 Message Date
Jan Macku
dfe6a234a2 Remove extra whitespace character 2022-05-23 14:33:17 +02:00
Jeroen Rietveld
4eff415d9b Actions PR approval permissions (#27527)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2022-05-13 07:01:22 +00:00
Matt Pollard
dedbaa7831 GitHub Enterprise Server 3.5 release candidate (#26792) 2022-05-10 18:30:14 +02:00
Sophie
ac4c64b683 Merge branch 'main' into sophie-6156-content 2022-04-13 09:14:13 +02:00
Mounil Shah
b588d2ec14 Add warning for write level rights with regards to repo secrets (#15553) 2022-04-06 19:06:47 +00:00
Matt Pollard
30f2b92798 Merge branch 'main' into sophie-6156-content 2022-04-06 13:53:40 +02:00
Vanessa
7e273971d3 Restructure and update enterprise-level audit log articles (#25526)
Co-authored-by: Laura Coursen <lecoursen@github.com>
2022-04-06 13:33:14 +10: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
Matt Pollard
6382d05d89 Merge branch 'main' into sophie-6156-content 2022-03-21 11:05:49 +01:00
Brendon Smith
06cf952123 Document how to use secrets with if: conditionals in GitHub Actions workflows (#12722)
* 🔒 Document how to use secrets with `if:`

github/docs#6861
github/docs#12722

- Add a complete workflow example to `jobs.<job_id>.steps[*].if`,
  demonstrating how to skip a step if a secret is not present
- Add an explanation to "Using encrypted secrets in a workflow"
- Cross-reference the two pages

* 🔒 Compare secrets with empty strings in `if:`

github/docs#6861
https://github.com/github/docs/pull/12722#discussion_r801011000

Rather than referencing two secrets:

1. `${{ secrets.SECRET_IS_SET }}`
2. `${{ secrets.SECRET_IS_NOT_SET }}`)

This commit will update the related section of the docs to reference a
single secret (`${{ secrets.SECRET_IS_SET }}`), and will update the
`if:` conditionals to compare with empty strings as suggested.

* 🔒 Add missing `{% raw %}`/`{% endraw %}`

github/docs#6861
github/docs#12722

Some `${{ }}` values were converted to `$` in the preview environment.
Adding `{% raw %}`/`{% endraw %}` will preserve the raw value.

* 🔒 Match variable and secret names in examples

github/docs#6861
https://github.com/github/docs/pull/12722#discussion_r801011000

This PR adds an example of how to use secrets with `if:` conditionals.
The reviewer suggested comparing variable values with empty strings to
make the `if:` conditionals clearer.

Commit cecdf00 updated the secret names accordingly, but the names of
the secret and environment variable may still have been confusing.

This commit will update the secret and environment variable names to
match the cross-referenced example on the "Encrypted secrets" page.

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

Co-authored-by: hubwriter <hubwriter@github.com>
2022-03-18 14:20:40 +00:00
Sophie
18edb677c9 Merge branch 'main' into sophie-6156-content 2022-03-17 09:25:19 +01:00
Sophie
74ba23bec7 Change instances of user account to personal account in content 2022-03-16 15:18:37 +01:00
Jenni Christensen
fa2d1c17d6 Merge branch 'main' into dihydroJen-1 2022-03-15 17:13:08 -07:00
Sarah Edwards
a1aad9333b Restrict workflow access to runner groups (#25463) 2022-03-10 11:10:19 -08:00
Matt Pollard
d2012d5f8e Add guide for enterprise-level self-hosted runners with GitHub Actions (#25123) 2022-03-04 10:46:10 +01: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
Sophie
1c75866f18 Merge branch 'main' into sophie-5758 2022-03-01 09:13:10 +01:00
Kensuke Nagae
50ba9909ab Add or ghec (#25698)
Fixes https://github.com/github/docs-content/issues/6400.

Co-authored-by: Laura Coursen <lecoursen@github.com>
2022-02-28 08:51:20 -06:00
Sophie
50c0b2d0b0 Removed duplicate actions reusable folder 2022-02-25 15:51:14 +01:00
Jenni Christensen
07a39ba4a3 Added GitHub Token expiration information 2022-02-24 09:09:14 -08:00
Edward Thomson
c77620d3d3 actions: update id-token default permissions to read (#25293)
Co-authored-by: hubwriter <hubwriter@github.com>
2022-02-22 20:01:27 +00:00
mc
a9bb8cbfd5 [Ready for merging on Feb 22] - GHAS starter workflows (#24873)
* empty commit

* document starter workflows

* adds procedural and removes availability section

* more work

* update actions docs

* added versioning that disappeared mysteriously

* remove spurious emtpy line

* remove unused endif?

* having fun with versioning

* hmm versioning hmm

* finally fix versioning

* add missing full stop

* start addressing comments

* address more comments

* address further comments

* Update content/get-started/learning-about-github/about-github-advanced-security.md

Co-authored-by: Felicity Chapman <felicitymay@github.com>

* add everything to the same paragraph

* remove CodeQL section

* Optimize images

* add note + content to GitHub Actions articles

* address review comments

Co-authored-by: Jules Parker <19994093+jules-p@users.noreply.github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
2022-02-22 17:16:40 +00:00
mc
b3b5ccb9dc CodeQL section removal (#25335)
* remove CodeQL section
2022-02-15 21:00:42 +00:00
Martin Lopes
cca7f3fbd3 Add versioning for id-token setting (#25212) 2022-02-10 15:40:47 +10:00
Varun Sharma
8c3524acf4 Update security-hardening-for-github-actions.md
Added a link to scorecard repo, and modified "makes a number of checks" to "runs a number of checks"
2022-02-07 15:35:34 -08:00
Varun Sharma
c842b23ff3 Update content/actions/security-guides/security-hardening-for-github-actions.md
Thanks for the suggestion...

Co-authored-by: Edward Thomson <ethomson@github.com>
2022-02-07 12:09:59 -08:00
Varun Sharma
691b0d2d78 Revert earlier changes
First commit had included scorecards within token permissions. New commit adds it as a new section. So reverting changes from first commit.
2022-02-02 12:20:35 -08:00
Varun Sharma
9756942440 Update security-hardening-for-github-actions.md
Add a new section for scorecards
2022-02-02 12:11:50 -08:00
Varun Sharma
849d606085 Merge branch 'github:main' into patch-2 2022-02-02 11:56:58 -08:00
Martin Lopes
1778ef7104 Storing base64 encoded data in a secret (#24485)
Co-authored-by: Edward Thomson <ethomson@github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2022-02-02 04:19:46 +00:00
Mingzi
d073578ab0 Add token permission change document (#24759)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2022-02-02 13:55:55 +10:00
Varun Sharma
e0471a9d76 Add reference to scorecards
scorecards can find issues related to token permissions and actions not pinned.
2022-01-31 11:47:06 -08:00
Matt Pollard
5af07647ef Centralize, update, and restructure some information about rate limits for REST API requests (#23685) 2022-01-25 15:04:24 +00:00
Laura Coursen
86656c8e94 Share actions with your enterprise 2022-01-21 11:42:04 +00:00
Octomerger Bot
2a41beb7f3 Merge branch 'main' into repo-sync 2022-01-17 19:06:57 -06:00
Lucas Costi
07095e96cc Actions context article revamp (#23628) 2022-01-18 00:53:42 +00:00
Keshav Bohra
beeb31df0d Fix the github token scopes (#14213) 2022-01-18 09:44:12 +10:00
Peter Bengtsson
8e25d1e40d remove all uses of include tool-switcher (part 1) (#24220)
* remove all uses of `include tool-switcher`

* two more files
2022-01-11 21:31:12 +00:00
Matt Pollard
b3e1ff4e89 Update documentation for GitHub AE's December 2021 release (#23405) 2021-12-07 10:36:37 +01:00
Matt Pollard
75d8f0e427 Fix future broken link and versioning syntax for GitHub AE (#23347) 2021-12-06 09:01:46 +00:00
Alan Kay
2a019a2b42 docs: replace id_token to id-token 2021-11-08 10:14:46 -06:00
Martin Lopes
48feb7369c [October 25, 2021] OpenID Connect - guides shipping on Oct 25 (#22392) 2021-10-26 09:37:21 +10:00
Kevin Heis
3b092b4cb8 Deprecate 2.22 b (#22366)
* Update enterprise-server-releases.js

* Run deprecation script

* Remove finding / managing security vulnerabilities

* remove vuln from translations

* remove more dead pages

* Restore heavily used files

* Remove 2.22 refs in tests

* Update working-with-the-npm-registry.md
2021-10-22 13:23:16 -07:00
Edward Thomson
c135151b47 Remove actions "warning"s (#22176) 2021-10-15 23:17:52 +00:00
Laura Coursen
8f964ea2cb GHEC version (#20947)
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
Co-authored-by: Robert Sese <sese@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-10-15 15:41:33 -05:00
Matt Pollard
ccbe9b9ede Restore beta note for GitHub Actions on GitHub AE (#22158) 2021-10-13 19:27:15 +02:00
Sarah Edwards
3040c3fcbd Deployment guides (#21614)
Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2021-10-05 18:57:25 +00:00
Matt Pollard
307e8094ec Backport updated content from GitHub AE M2 megabranch and version for ghae-next (#21525) 2021-10-04 16:11:57 +00:00
hubwriter
d9947cac72 Documentation for reusable workflows (#21563)
Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-09-29 10:09:29 +10:00
Martin Lopes
83dc407ada Restructure Actions guides (#21577)
Co-authored-by: Sarah Edwards <skedwards88@github.com>
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-09-22 16:49:41 +10:00