Rachael Sewell
fd1ed1989c
Use javascript not shell
...
* Revert "Fail workflow when pr includes unallowed contributions (#17333 )"
This reverts commit 871d886c16
.
* actually use javascript
* remove space
* lint
2021-01-19 21:38:53 +00:00
Janice
8faed54864
Merge branch 'main' into patch-1
2021-01-19 13:13:03 -07:00
James M. Greene
4545ffd3e9
Update repo-sync and translations workflows to verify author of PR before approving ( #17356 )
...
Uses changes from https://github.com/juliangruber/find-pull-request-action/pull/18
2021-01-19 17:48:44 +00:00
HonkingGoose
4e813e288a
capitalize first word of sentence
2021-01-18 18:45:52 +01:00
Rachael Sewell
871d886c16
Fail workflow when pr includes unallowed contributions ( #17333 )
2021-01-15 13:16:59 -08:00
James M. Greene
325c71d94e
Disable the Actions workflow linter on push/PRs for now ( #17330 )
2021-01-15 13:59:25 -05:00
James M. Greene
fb0f3846b6
Fix a few simple workflow lint errors ( #17298 )
...
* Use 'ubuntu-latest' instead of 'ubuntu-18.04' for longevity
* Update 'branches' configurations to be sequences as expected
2021-01-15 14:01:17 +00:00
Peter Cihon
160085a9ec
Update site-policy-sync.yml ( #17256 )
...
Added filter to reduce trigger events. Edited destination branch and commit message.
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
2021-01-14 14:54:33 +00:00
Chiedo John
175d80fdf2
Run Windows tests on windows PRs ( #17301 )
...
Run Windows tests on PRs with the windows label
Co-authored-by: chiedo <chiedo@users.noreply.github.com>
2021-01-14 14:03:36 +00:00
James M. Greene
90b2e49734
Add a linter for Actions workflow files ( #17265 )
...
* Add a linter for Actions workflow files
* Actually add the workflow file, duh
2021-01-14 04:07:45 +00:00
Chiedo John
849843806a
Deactivate some actions on forks ( #17226 )
...
Deactivate some actions on forks
Closes #17220
Co-authored-by: chiedo <chiedo@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-01-11 13:55:13 +00:00
Chiedo John
35714bcc22
Provide more accurate link for Repo Sync PRs ( #17145 )
...
Co-authored-by: chiedo <chiedo@users.noreply.github.com>
2021-01-07 20:29:25 +00:00
Peter Cihon
fcc718fb5d
Create site-policy-sync.yml ( #17111 )
...
Create site-policy-sync.yml
Co-authored-by: chiedo <chiedo@users.noreply.github.com>
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2021-01-07 19:22:12 +00:00
Chiedo John
dc36539478
Patch ( #17144 )
...
Co-authored-by: chiedo <chiedo@users.noreply.github.com>
2021-01-05 10:17:02 -05:00
Chiedo John
896417a839
Make Repo Sync Stall Workflow check for the automated-repo-sync label ( #17142 )
...
Currently the Repo Sync Stall checker is including PRs that aren't repo
sync PRs. This change should ensure that is no longer the case
Co-authored-by: chiedo <chiedo@users.noreply.github.com>
Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>
2021-01-05 10:11:19 -05:00
HonkingGoose
3653856685
remove "tests are passing" checkbox
2020-12-22 21:12:56 +01:00
Emily Gould
dd27d6f658
Update team name ( #17075 )
2020-12-22 08:50:41 +10:00
Rachael Sewell
eeb2b59144
fix repo-sync bug ( #17047 )
...
* fix repo-sync bug
* add another log
* add mergeable_state check
* check for pull number
* add check for prior steps
* remove test logs
* lint
2020-12-17 19:15:45 +00:00
Rachael Sewell
d6e854b6b3
update branch when out of date ( #17031 )
...
* update branch when out of date
* small copy update
* var rename
* lint yaml
2020-12-17 16:18:45 +00:00
Rachael Sewell
1f15ea4d22
reenable graphql updater ( #16994 )
...
* re-enable graphql updater workflow
* remove scheduled run temporarily
* lint yaml
* re-enable graphql updater workflow
* add my pat for test
* use my pat for create pr
* update peter-evans action
* Action ran graphql script"update-files"
* use github-token
* revert
* Action ran graphql script"update-files" (#17000 )
* update another workflow
* add schedule run back
Co-authored-by: rachmari <rachmari@users.noreply.github.com>
Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-12-16 19:45:37 +00:00
Chiedo John
585691b928
Make the repo sync stall check less aggressive ( #17018 )
...
Co-authored-by: chiedo <chiedo@users.noreply.github.com>
2020-12-16 17:40:16 +00:00
Rachael Sewell
a2a427f681
re-enable graphql updater workflow ( #16993 )
...
* re-enable graphql updater workflow
* remove scheduled run temporarily
* lint yaml
2020-12-15 23:03:05 +00:00
Rachael Sewell
0307dcb598
Revert "use docubot token" ( #16987 )
...
* Revert "use docubot token (#16980 )"
This reverts commit 06e52bf3f5
.
* use pull_request_target
2020-12-15 21:58:25 +00:00
Rachael Sewell
06e52bf3f5
use docubot token ( #16980 )
2020-12-15 20:11:56 +00:00
Rachael Sewell
a8bfd0a324
Remove double pull_request property ( #16974 )
2020-12-15 18:01:31 +00:00
Rachael Sewell
f176694ec3
unallowed workflow updates ( #16968 )
2020-12-15 17:30:10 +00:00
Chiedo John
b6df7eb440
Quiet workflow on Repo Sync PRs ( #16961 )
...
Quiet workflow on Repo Sync PRs
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-15 15:30:25 +01:00
Robin Neatherway
0c15336198
Update codeql.yml ( #16791 )
...
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2020-12-14 17:18:11 +00:00
Kevin Heis
a43544faaf
Update .github/workflows/triage-unallowed-contributions.yml
2020-12-12 11:49:46 -08:00
Rachael Sewell
1d56eb6910
check for unallowed file os contributions ( #16892 )
...
* check for static file os contributions
* add change to show workflow review
* comment for test
* all pushes
* colon after push
* revert to version number
* debugging strange new error
* copy over file from working branch
* remove version
* update from test branch
* fix cond bug
* revert openapi schema change
* add custom translation handling
* allow testing
* push
* debug label
* move to proper area
* update route parm name
* uncomment
* revert translation
* Apply suggestions from code review
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* Update .github/workflows/triage-unallowed-contributions.yml
Co-authored-by: Janice <janiceilene@github.com>
* Update .github/workflows/triage-unallowed-contributions.yml
Co-authored-by: Janice <janiceilene@github.com>
* format code
* introduce mod
* add wildcard for openapi files
* revert file
* add back checks after tests
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Janice <janiceilene@github.com>
2020-12-11 23:04:57 +00:00
Chiedo John
73f3a97714
Remove autoupdate cron for repo sync ( #16890 )
...
The autoupdate action apparently does not support running on crons
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-10 20:43:38 +00:00
Chiedo John
ca04ba60a0
Make sure the check always passes ( #16885 )
...
Make sure the check always passes
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-10 20:14:55 +00:00
Chiedo John
3418d1cd0f
Fix indentation ( #16879 )
...
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-10 13:11:09 -06:00
Chiedo John
c0663d4977
Fix .github/workflows/autoupdate-repo-sync-branch-on-cron.yml ( #16876 )
...
Fix Repo Sync Auto Updater
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-10 18:21:39 +00:00
Chiedo John
788d39f0ad
Try and get reposync branch updated on a cron ( #16866 )
...
Get repo sync updated on a cron as some extra hardening
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2020-12-10 17:53:07 +00:00
Chiedo John
3160079f51
Run the stall check every 2 hours ( #16864 )
...
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-10 14:21:49 +00:00
Chiedo John
712dd75146
Confirm w/ internal GitHub team members when they post to docs ( #16804 )
...
Confirm w/ internal GitHub team members when they post to docs
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
Co-authored-by: Janice <janiceilene@github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
Co-authored-by: Jason Etcovitch <jasonetco@github.com>
2020-12-10 02:52:30 +00:00
Rachael Sewell
15c1cf87a9
Add ability to manually trigger workflow ( #16810 )
2020-12-09 21:17:47 +00:00
Chiedo John
910a94b1d6
Remove skip-duplicate-actions for linting ( #16845 )
...
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-09 19:33:11 +00:00
Chiedo John
9fef52449c
Move to a version of this that works with a cron ( #16830 )
...
Move to a version of this that works with a cron
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-09 18:23:46 +00:00
Chiedo John
ee7c1bce3d
Move all Slack notifications to Docs Bot ( #16828 )
...
Move all Slack notifications to Docs Bot
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-09 16:47:38 +00:00
Chiedo John
212fffb6e2
Fix unused code that causes workflow to fail ( #16827 )
...
* Remove unused code that causes workflow to fail
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-09 16:01:07 +00:00
Chiedo John
aae3c4e6de
Send a Slack notification when Repo Sync stalls ( #16785 )
...
* Check if Repo Sync has stalled
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2020-12-09 15:29:22 +00:00
Kevin Heis
30cdb3173b
Allow repo sync in public repo ( #16746 )
...
* Allow repo sync in public repo
* Update repository-references.js
* Update lint-files.js
2020-12-03 19:19:23 +00:00
Sarah Schneider
82644efc7c
Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt
2020-12-03 12:06:18 -05:00
Kevin Heis
11d8e415da
Check repository references ( #16680 )
...
* Check repository references
* Remove "foundRepoNames" that I used to find all the unique names
* A little speed up with Set
* Ignore a few files
* Remove remaining references
* Update README.md
2020-12-03 16:41:03 +00:00
Kevin Heis
75fd006de6
Close unwanted pull requests ( #16679 )
...
* Close unwanted pull requests
* Update close-unwanted-pull-requests.yml
* List out files excluded
2020-12-03 15:56:23 +00:00
Sarah Schneider
2f10991ea5
Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt
2020-12-03 10:29:46 -05:00
Emily Gould
be76f358bf
Add code owners for style guide and markup reference ( #16674 )
2020-12-02 14:34:03 -06:00
Sarah Schneider
1b051afa18
Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt
2020-12-02 15:13:43 -05:00
Rachael Sewell
bf99faa184
label OpenAPI auto-generated PRs ( #16723 )
2020-12-02 11:34:01 -08:00
Sarah Schneider
1258092a41
Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt
2020-12-02 14:22:10 -05:00
Sarah Schneider
6d82e46580
lint
2020-12-02 12:30:45 -05:00
Robert Mosolgo
69bd6f2dbd
Remove build-changelog-from-markdown.js
2020-12-01 15:17:29 -05:00
Sarah Schneider
b244d447dd
Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt
2020-12-01 12:38:48 -05:00
Sarah Schneider
da1427f812
Merge branch 'main' of github.com:github/docs-internal into build-changelog
2020-12-01 09:40:04 -05:00
Sarah Schneider
4ba63f2899
add comment instead of trying to add to project board
2020-11-30 14:39:09 -05:00
Robert Mosolgo
9e5d72eb42
Merge branch 'main' into build-changelog
2020-11-25 16:32:10 -05:00
Robert Mosolgo
fc54b4d43c
Fix lint errors
2020-11-25 16:30:37 -05:00
Robert Mosolgo
aeedfac37e
Add graphql tests to CI, move snapshots to fixures, use mockdate
2020-11-25 11:12:13 -05:00
Sarah Schneider
68c5d4d6d1
change project-repository to project-location
2020-11-25 09:46:28 -05:00
Sarah Schneider
4f7f5b6d04
use spaces instead of + within query
2020-11-25 09:46:08 -05:00
Sarah Schneider
212fe1e259
copypasta fix
2020-11-24 15:58:16 -05:00
Sarah Schneider
e090ff783d
Merge branch 'main' into broken-link-report-workflow-tweaks
2020-11-24 15:21:13 -05:00
Sarah Schneider
8f0093c63a
OpenAPI tooling updates ( #16320 )
2020-11-24 12:20:10 -08:00
Sarah Schneider
2d8b8164df
restore
2020-11-24 15:02:09 -05:00
Sarah Schneider
6378864b9d
Update .github/workflows/check-all-english-links.yml
...
Co-authored-by: Jason Etcovitch <jasonetco@github.com>
2020-11-24 15:00:00 -05:00
Sarah Schneider
62bfc32ace
label array items are objects
2020-11-24 12:38:45 -05:00
Sarah Schneider
0476553fb8
exit early if no labels are found
2020-11-24 12:35:20 -05:00
Sarah Schneider
3829c94236
we need to install deps etc
2020-11-24 12:12:34 -05:00
Sarah Schneider
070387adc3
checkout first
2020-11-24 12:05:20 -05:00
Sarah Schneider
43b99c7e42
remove WORKSPACE path
2020-11-24 11:55:43 -05:00
Sarah Schneider
8c3be7d8c4
run the script to check labels at the start of the workflow; exit if none is found
2020-11-24 11:49:20 -05:00
Sarah Schneider
f0303416f5
use js to find the version substring from the label string
2020-11-23 17:03:02 -05:00
Sarah Schneider
3cc870e165
workflow should run on label events
2020-11-23 15:44:37 -05:00
Sarah Schneider
5e0bcc6773
fix startsWith syntax
2020-11-23 14:57:38 -05:00
Sarah Schneider
0ad7a71b35
lint
2020-11-23 14:28:05 -05:00
Sarah Schneider
89755817fc
update allowed actions list
2020-11-23 14:19:01 -05:00
Sarah Schneider
8b6f544c34
add steps to close open issues and add new issue to FR project board
2020-11-23 14:18:45 -05:00
Sarah Schneider
67cc12fca1
remove extra hyphen
2020-11-20 11:02:02 -05:00
Sarah Schneider
071879e97b
add new label-triggered workflow
2020-11-20 10:45:05 -05:00
Sarah Schneider
8ef30f7c38
updating allowed-actions
2020-11-18 14:38:58 -05:00
Sarah Schneider
5b039af202
use sha
2020-11-18 14:24:34 -05:00
Sarah Schneider
f4d9d1ae89
bump action version
2020-11-18 14:15:26 -05:00
James M. Greene
d402a60833
Merge branch 'main' into hidden-docs-alt
2020-11-17 17:56:25 -06:00
Nick Schonning
b6de7c6887
chore: Convert Standard to eslint-config-standard ( #1328 )
...
* chore: Move standard to ESLint config
* fix: auto-fix ESLint indent issues
* fix: ESLint prefer-regex-literals
* fix: ESLint array-callback-return
- .filter must return a boolean value
- .map replaced with forEach when the value isn't used
* fix: ESLint no-extra-semi
2020-11-17 16:18:18 -05:00
James M. Greene
4962f91a13
Fix test workflow file
2020-11-17 14:50:43 -06:00
James M. Greene
909db6fcf4
Update EA cloning script to rely on the current git branch
2020-11-17 14:13:14 -06:00
Janice
1234a2038e
Merge branch 'main' into patch-1
2020-11-17 13:12:07 -07:00
Janice
67c7b9c0ec
Update .github/PULL_REQUEST_TEMPLATE.md
2020-11-17 13:10:49 -07:00
Nick Schonning
92740f68d7
chore: Add Prettier for Yaml formatting
...
Related to #128
- Prettier to fix indenting/quoting across files
- Manually adjust list styles to "-" style
- Ignore all translated files from automated formatting
- Drop redundant CI env variable
2020-11-16 16:12:49 -05:00
Kevin Heis
dd02bfa007
Merge main
2020-11-16 10:07:53 -08:00
Chiedo John
1c1f6ab0d4
Merge branch 'main' into stale-exemption
2020-11-16 09:34:03 -05:00
Chiedo
5e6c30a4a8
Revert "chore: flatten ifs for fkirc/skip-duplicate-actions"
...
This reverts commit d9d17364e3
.
2020-11-16 09:07:00 -05:00
Chiedo
790928cb84
Add the option to exempt issues and prs from staleness
2020-11-16 08:46:48 -05:00
Sarah Schneider
8788ab7fc4
Continue on error during link check ( #16442 )
...
* continue on error
* use failure instead of continue-on-error
* Update .github/workflows/check-all-english-links.yml
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* add missing colon
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2020-11-12 14:53:28 -05:00
James M. Greene
2a780be55b
Prevent merging to main branch during repo freezes ( #16278 )
...
* Prevent merging to main branch during repo freezes
* Update failure wording to indicate merges are 'paused'
* Clarify the merge pauses are only for the 'main' branch
2020-11-10 23:57:28 -06:00
James M. Greene
dac5bc7867
Don't re-run build for Actions in the internal repo
2020-11-10 16:01:18 -06:00
Sarah Schneider
1b5cdd82f5
need to do a checkout after all ( #16430 )
2020-11-10 16:40:55 -05:00
Sarah Schneider
0babb6a504
add .js ( #16428 )
2020-11-10 15:51:31 -05:00