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

274 Commits

Author SHA1 Message Date
Rachael Sewell
715008dcac Update update-graphql-files.yml (#17843) 2021-02-13 19:27:32 +00:00
James M. Greene
fca736b5ec Filter the workflow and YAML linters event triggers by paths (#17816) 2021-02-11 17:44:02 +00:00
James M. Greene
cfbcfad1f2 Re-enable the Actions workflow linter using the latest version (#17399)
* Re-enable the Actions workflow linter using the latest version

* Update to the latest actions-linter

* Update to the latest actions-linter

* Rely on secrets.FREEZE directly rather than setting a duplicate env var

* Fix workflow error by using secrets.FREEZE directly as this one doesn't actually set a duplicate env var in the first place!

* Update to latest actions-linter

* Use ${{}} expression syntax

* Readd env.FREEZE to necessary workflows since secrets cannot be checked in 'if' conditions

* Readd the comment to the GraphQL updating workflow about the FREEZE secret

* Upgrade actions-linter
2021-02-11 15:50:37 +00:00
Jason Etcovitch
6e0c2319b4 Set engines.node to 14+ (#17777)
* Set engines.node

* Add setup-node to browser-test workflow

* Updoot ianwalter/puppeteer-container
2021-02-11 15:40:08 +00:00
James M. Greene
34e5bcf944 Add an explanation of the autoupdate-branch workflow (#17798) 2021-02-11 05:40:14 +00:00
James M. Greene
3b566104e5 Add comment about labeling configuration to that workflow (#17797) 2021-02-11 02:11:23 +00:00
James M. Greene
37ea38dc5e Fix an Actions expression syntax error (#17806) 2021-02-11 01:42:37 +00:00
James M. Greene
271df90bab Correctly prevent the Docker build workflow from executing on CrowdIn PRs (#17795) 2021-02-11 01:33:09 +00:00
James M. Greene
0d02e1c142 Run the normal JS tests on CrowdIn PRs and remove the alternative workflow (#17794) 2021-02-11 01:28:07 +00:00
James M. Greene
5c0cf9ae69 We should ensure all tests (including linting) are passing on CrowdIn PRs (#17792)
Also, this was not the correct way to prevent that from running anyway
2021-02-10 23:38:33 +00:00
James M. Greene
853561629d Workflow linter tweaks (#17790)
* Remove incorrect branch filter from workflow-linting workflow

* Only lint the workflows for the internal repo
2021-02-10 23:14:52 +00:00
James M. Greene
054c8f00c8 Remove incorrect branch filter from YAML-linting workflow (#17791) 2021-02-10 22:54:52 +00:00
James M. Greene
f25b9896fd Only run the OpenAPI schema check workflow for the internal repo (#17788) 2021-02-10 22:50:52 +00:00
James M. Greene
c052155800 Run the link checkers on the open source repo as well (#17789) 2021-02-10 21:36:41 +00:00
James M. Greene
4ab23615e0 Execute browser tests for pushes to main and all PRs (#17796)
...instead of just pushes to any branch.

Fixes https://github.com/github/docs-internal/issues/17068
2021-02-10 21:09:47 +00:00
Janice
32aa2d4bf1 Update merge comment to include help wanted issues (#17774) 2021-02-10 09:18:21 -07:00
James M. Greene
a469193704 Test workflow and jest configuration cleaning (#17759) 2021-02-09 10:52:28 -06:00
Lee Dohm
37717eeed1 Don't check for internal authors on reopening 2021-02-08 11:59:37 -08:00
Rachael Sewell
0f5ad09dfd update action output name (#17696) 2021-02-05 19:28:20 +00:00
Chiedo John
f10360f689 Add nuanced stalebot workflow (#17654)
Add nuanced stalebot workflow

Co-authored-by: chiedo <chiedo@users.noreply.github.com>
2021-02-04 14:48:45 +00:00
Sarah Edwards
30e092f20d add "issue addressed" prompt (#17646) 2021-02-04 00:20:18 +00:00
Kevin Heis
c640f6da16 Update Dockerfile so it builds and runs (#17469)
* Update Dockerfile so it at least builds

* And get it running again!

* Update Dockerfile

* Create build-docker-image.yml

* Update build-docker-image.yml

* Update Dockerfile

* Update Dockerfile

* Delete build-docker-image.yml
2021-02-01 22:25:49 +00:00
Chiedo John
205fe55a31 Increase stalebot threshold (#17599)
* Increase stalebot threshold

* Update triage-stale-check.yml

Co-authored-by: chiedo <chiedo@users.noreply.github.com>
2021-02-01 14:01:10 -05:00
Vanessa Yuen
a1d93a7619 Lint translation files (#17561)
### Why:

A lot of content gets mistranslated, some common patterns are: frontmatter date and enums getting translated, liquid tags get translated or go missing during the translation process. These translation errors are tough to catch, especially when they often come in huge PRs. 

### What's being changed:

- Frontmatter is also getting linted against schema as part of `lint-files`
- When an environment variable `TEST_TRANSLATION` is passed,
   - `lint-files` will run its tests against all files that have been newly translated (by git-diffing between `translations` branch and `main` branch), and
   - results are outputted using a custom jest reporter. The output is formatted in a way that makes it easy to exclude the problematic translated files from being merged, and to share the errors with [localization support](https://github.com/github/localization-support/issues/489). 
- Run the implemented translation test as part of the existing `Node.js Tests - Translations` workflow
2021-02-01 17:59:33 +01:00
Octomerger Bot
64a0ab640c Branch was updated using the 'autoupdate branch' Actions workflow. 2021-02-02 02:00:54 +10:00
James M. Greene
0fc3c7a197 Add a workflow to close repo-sync PRs opened by external contributors (#17586)
* Tweak copy

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-02-01 16:00:20 +00:00
chiedo
be29634824 Fix typo 2021-02-01 10:31:26 -05:00
Chiedo John
8f2d3d1c7a Remove security vulnerability (#17591)
Co-authored-by: chiedo <chiedo@users.noreply.github.com>
2021-02-01 10:00:21 -05:00
Vanessa Yuen
4f3f3b0a6d fix workflow (#17562) 2021-01-29 13:23:31 +01:00
Sarah Schneider
8fd2b9899f change VERSION to more specific DOCS_VERSION 2021-01-28 16:42:59 -05:00
Sarah Schneider
345ab98957 Merge branch 'main' of github.com:github/docs-internal into parallelize-link-check-workflows 2021-01-28 16:34:23 -05:00
Peter Cihon
c68eea93b2 Update site-policy-sync.yml (#17500)
* Update site-policy-sync.yml

* Update allowed-actions.js

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-01-28 20:18:07 +00:00
Chiedo John
a168b9647f Attempt to fix spammy title workflow so it actually closes issue (#17525)
Attempt to fix workflow so it actually closes issue

Co-authored-by: chiedo <chiedo@users.noreply.github.com>
2021-01-27 15:46:49 +00:00
Chiedo John
6b932f4647 Create a workflow that closes issues with short titles (#17501)
Create a workflow that closes issues with short titles

Co-authored-by: chiedo <chiedo@users.noreply.github.com>
Co-authored-by: Lee Dohm <1038121+lee-dohm@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Janice <janiceilene@github.com>
2021-01-27 14:24:20 +00:00
Sarah Schneider
dc6c9b19bb specify path in skip check 2021-01-26 15:20:28 -05:00
Sarah Schneider
cfc6688db9 update workflow titles 2021-01-26 15:19:30 -05:00
Sarah Schneider
03e386f6b3 split link checking workflow into three, one per version type 2021-01-26 15:07:02 -05:00
Sarah Schneider
176037f03d run on self-hosted conditionally (#17466) 2021-01-25 09:03:59 -05:00
Chiedo John
852a8cde15 Use self-hosted runners for docs-internal (#17442)
Use self hosted runners for docs-internal

Co-authored-by: chiedo <chiedo@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-01-25 08:41:53 -05:00
Sarah Schneider
7cc8b3bbd1 add clarifying comments 2021-01-22 16:05:29 -05:00
Sarah Schneider
295e5dc1f0 upgrade to setup-node v2 2021-01-22 10:54:20 -05:00
Sarah Schneider
14ae1634de try without early access step for now 2021-01-22 10:26:15 -05:00
Sarah Schneider
b8a18911b9 try setup node 2021-01-22 10:22:25 -05:00
Sarah Schneider
779b7ca1c7 see if it runs faster on self-hosted runner 2021-01-22 10:07:01 -05:00
Sarah Schneider
8555d3dce4 add npm run build step 2021-01-21 17:00:52 -05:00
Sarah Schneider
b19b50c347 ra npx prettier -w .github/workflows/test.yml 2021-01-21 16:58:07 -05:00
Sarah Schneider
28f0837fa6 these should be runs not withs 2021-01-21 16:52:20 -05:00
Sarah Schneider
76a3706214 link check should only run via separate workflow not test.yml 2021-01-21 16:50:26 -05:00
Sarah Schneider
914c36244f add workflow file 2021-01-21 16:38:20 -05:00
Jason Etcovitch
7f416814d6 Pin the full SHA (#17393) 2021-01-21 16:57:58 +00:00