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

634 Commits

Author SHA1 Message Date
Marcelo Jacobus
383ec0bd98 Remove translations directory before Crowdin Sync (#22582)
* Remove all translations before Crowdin sync

- See https://github.com/github/docs-engineering/issues/1114

* To be reverted

Temporarily change the branch name name in Crowdin sync

* Remove translations/*/data before Crowdin sync

* Fix actions check

* Revert "To be reverted"

This reverts commit 7bc38fa44a223eb1878d791107b5b5ce6cb50463.

* Pin crowdin/github-action
2021-11-05 20:18:45 +00:00
Peter Bengtsson
1e9bcdcbf7 Omit dereferenced static rest json file in stage builds (#22589)
* omit dereferenced static rest json file in stage builds

* there is no translations/de no more

* remove lines that no longer do anything
2021-11-05 01:21:41 +00:00
Peter Cihon
542eea4190 Update site-policy-sync.yml (#22399)
* Update site-policy-sync.yml

* Update site-policy-sync.yml

Added permissions. Tested successfully on the private repo

* Update allowed-actions.js

Removing now extraneous action from permissions

* run prettier to remove trailing whitespaces

Co-authored-by: Kevin Xu <khxu@github.com>
2021-11-04 20:11:41 +00:00
Marcelo Jacobus
ed9e3d79cb Add test and script to ensure 1:1 parity of liquid tags between source and translation (#22472)
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2021-11-04 10:59:17 -03:00
Mike Surowiec
6747838293 fix: update staging-deploy-pr to never untar artifact from public repo (#22526)
* fix: update staging-deploy-pr to never untar public builds, allow search to not error when missing indexes/records files

* add comment about tar extraction

* let lunr-search fail, for now, if the files are missing

Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2021-11-02 12:51:36 -07:00
Ramya Parimi
17c2df411c Workflow to transfer localization issues to localization repo (#21857)
* workflow to transfer localization issues

* Update .github/workflows/transfer-to-localization-repo.yml

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>

* Update transfer-to-localization-repo.yml

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-11-02 18:33:11 +00:00
Robert Sese
06f9fa101c Add GHEC link check workflow (#22478)
* Add GHEC link checker workflow

* Update link check script for GHEC

* Remove stale comments
2021-10-29 20:50:22 +00:00
Kevin Heis
4d1f7f915b Capital first letter of action names (#22491) 2021-10-29 17:32:11 +00:00
Ramya Parimi
7a4bffcd5c Update move-ready-to-merge-pr.yaml (#22418) 2021-10-29 12:15:05 +00:00
Francis
0b99eb9960 [Localization] Short-circuit Crowdin Sync if it runs for more than 5 hours (#22406)
* feat: set timeout and notifier for Crowdinn Sync

* feat: emit a notification if Crowdin Sync fails
2021-10-28 18:46:00 +00:00
Grace Park
47ba71c8b5 Update to self-hosted runners for Actions Deployment (#22440)
* update to self-hosted runners

* remove zstd temporarily
2021-10-28 11:10:59 -07:00
Grace Park
cac72dbd36 temp remove zstd for self-hosted runners (#22459) 2021-10-28 10:58:57 -07:00
Ramya Parimi
af75833675 Update triage-stale-check.yml (#22457) 2021-10-28 15:57:12 +00:00
Mike Surowiec
9c12341077 include more disallowed files in staging-build-pr.yml (#22421) 2021-10-26 21:40:48 +00:00
Peter Bengtsson
711bd22f02 Upload (and download) a smaller bundle when stage building + deploying (#22331)
* experiment with slimming app.tar

* more specifics

* better

* delete stuff and see if things wtill work

* experiment with zst

* same old npm install again

* upload the zst file too

* quiet

* delete translations not in the diff

* delete translations not in the diff

* with --name-only

* basic delete

* fixes

* tidying up
2021-10-22 11:06:50 -04:00
dependabot[bot]
cd74b07da1 Bump actions/checkout from 2.3.4 to 2.3.5 (#22264)
* Bump actions/checkout from 2.3.4 to 2.3.5

Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](5a4ac9002d...1e204e9a92)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* test

* removing test, works

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
2021-10-21 00:19:35 +00:00
dependabot[bot]
56a9156f98 Bump someimportantcompany/github-actions-slack-message from 1.1.0 to 1.2.2 (#22263)
* Bump someimportantcompany/github-actions-slack-message

Bumps [someimportantcompany/github-actions-slack-message](https://github.com/someimportantcompany/github-actions-slack-message) from 1.1.0 to 1.2.2.
- [Release notes](https://github.com/someimportantcompany/github-actions-slack-message/releases)
- [Commits](0b470c14b3...f8d28715e7)

---
updated-dependencies:
- dependency-name: someimportantcompany/github-actions-slack-message
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update allowed-actions

* 🤖 ran script/update-enterprise-dates.js

* adding comment with version number

* test

* remove b

* remove test, it works

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: gracepark <gracepark@users.noreply.github.com>
Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com>
2021-10-20 16:20:54 -07:00
Peter Bengtsson
3d39259e27 CI to check that the package.json matches package-lock.json (#22324)
* CI to check that the package.json matches package-lock.json

* remove incorrect comment

* debug npm version

* ignore scripts

* minimal permissions possible

* delberately mess with it

* undo manual test
2021-10-20 19:08:23 +00:00
Ramya Parimi
0e832db758 Update triage-pull-requests.yml (#22292)
* Update triage-pull-requests.yml

* Update triage-pull-requests.yml

* Update triage-pull-requests.yml

* Update .github/workflows/triage-pull-requests.yml

Co-authored-by: Robert Sese <robert.sese@gmail.com>

Co-authored-by: Robert Sese <robert.sese@gmail.com>
2021-10-20 17:44:39 +00:00
Mike Surowiec
e24b1b54e9 fix: runner temp reference in interpolated context (#22309) 2021-10-19 13:57:18 -05:00
Mike Surowiec
800ec51c3d fix: extract build artifact in tmp directory, move installation step earlier (#22306)
Co-authored-by: Grace Park <gracepark@github.com>
2021-10-19 13:37:48 -05:00
Ramya Parimi
02a83316f3 Update triage-pull-requests.yml (#22193) 2021-10-18 23:54:10 +00:00
Ramya Parimi
622174391a Update triage-issue-comments.yml (#22190) 2021-10-18 23:26:47 +00:00
Peter Bengtsson
9964a6619c separate 'npm test' from 'npm lint' (#22191)
* separate 'npm test' from 'npm lint'

* remove delberately eslint violation (but keep prettier violation)

* undo prettier violation

* tighten up us of our scripts for testing and lint
2021-10-18 19:58:56 +00:00
dependabot[bot]
de8cd28771 Bump peter-evans/find-comment from 0da1f4fc1f20cd898368bd56089d391df418f52f to 1.3.0 (#22257)
* Bump peter-evans/find-comment

Bumps [peter-evans/find-comment](https://github.com/peter-evans/find-comment) from 0da1f4fc1f20cd898368bd56089d391df418f52f to 1.3.0. This release includes the previously tagged commit.
- [Release notes](https://github.com/peter-evans/find-comment/releases)
- [Commits](0da1f4fc1f...d2dae40ed1)

---
updated-dependencies:
- dependency-name: peter-evans/find-comment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* update allowed-actions

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2021-10-18 18:38:10 +00:00
Ramya Parimi
fc8bea5526 Update 60-days-stale-check.yml (#22247)
* Update 60-days-stale-check.yml

* Update 60-days-stale-check.yml

added issue exempt labels
2021-10-18 17:52:00 +00:00
dependabot[bot]
5201ca8813 Bump actions/setup-node from 2.2.0 to 2.4.1 (#22109)
* Bump actions/setup-node from 2.2.0 to 2.4.1

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.2.0 to 2.4.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](38d90ce44d...270253e841)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* allow it moar

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2021-10-18 13:33:34 -04:00
Robert Sese
a8b8e1af46 Approve PRs with GITHUB_TOKEN again (#22211) 2021-10-18 16:14:51 +00:00
Peter Bengtsson
3cf15e0c83 fix automerge-dependencies.yml (#22164)
Part of #1014
2021-10-18 12:16:16 +00:00
Ramya Parimi
2d89e169c9 Update triage-issues.yml (#22137)
Added

`permissions:
  repository-projects: write`
2021-10-13 12:00:17 +00:00
Robert Sese
0b3d04e1a8 Handle different fork repo names when listing PRs (#22094) 2021-10-13 00:47:38 +00:00
Lee Dohm
201e31c5df Merge branch 'main' into notify-on-maintainer-edit-access 2021-10-12 13:11:57 -07:00
Lee Dohm
58b6af7ebc Use pull_request_target trigger 2021-10-12 12:50:34 -07:00
Lee Dohm
93a11c32eb Remove unnecessary data specifier 2021-10-12 12:50:34 -07:00
Lee Dohm
4cc2a76776 Fix incorrect specifier
Co-authored-by: Robert Sese <robert.sese@gmail.com>
2021-10-12 12:30:02 -07:00
Ramya Parimi
f019b689a6 Update move-reopened-issues-to-triage.yaml (#22135)
console.log(error) to console.log(e)
2021-10-12 18:20:12 +00:00
Francis
9705e9f705 enhancement: annotate upload_translations opt (#22047)
Close https://github.com/github/docs-engineering/issues/977
2021-10-12 18:04:52 +00:00
Lee Dohm
dcac261576 Use strict equality matching 2021-10-12 10:41:19 -07:00
Lee Dohm
04e051ae22 Fix mismatched error variable name 2021-10-12 10:40:44 -07:00
Lee Dohm
6684ac0451 Add pull request write permission specifier 2021-10-11 13:36:23 -07:00
Lee Dohm
4a067f1467 Point to docs on how to change setting 2021-10-11 13:29:04 -07:00
Lee Dohm
4f1cf2d70d Create workflow to post comment when a PR is opened without maintainer edit access 2021-10-11 13:23:06 -07:00
James M. Greene
aa4c687660 Consistently use latest andymckay/labeler action for simple labeling steps in Actions workflows (#22045)
* Update andymckay/labeler to latest

* Drop use of rachmari/labeler fork since we aren't using its divergence

* Replace some other simple labeling use cases with andymckay/labeler

* Add permissions matrixes, mostly

* Remove unnecessary and basically invalid if condition

* More closely following the docs even though the workflow linter is angry

* Remove irrelevant path omissions from workflow linter

* Add exclusion for workflow linter
2021-10-08 23:24:27 -05:00
dependabot[bot]
122018aa47 Bump alex-page/github-project-automation-plus from fdb7991b72040d611e1123d2b75ff10eda9372c9 to 0.8.1 (#21984)
* Bump alex-page/github-project-automation-plus

Bumps [alex-page/github-project-automation-plus](https://github.com/alex-page/github-project-automation-plus) from fdb7991b72040d611e1123d2b75ff10eda9372c9 to 0.8.1. This release includes the previously tagged commit.
- [Release notes](https://github.com/alex-page/github-project-automation-plus/releases)
- [Commits](fdb7991b72...bb266ff4dd)

---
updated-dependencies:
- dependency-name: alex-page/github-project-automation-plus
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update github-project-automation-plus version in allowed-actions

* Make the workflow linter and Sentinel happy

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James M. Greene <jamesmgreene@github.com>
2021-10-08 20:20:16 +00:00
James M. Greene
245271ee36 Update dependabot PR auto-closing job to also lock (#22021)
* Update auto-closing job to also lock the PR

* Follow security best practice using env vars instead of string supplanting

* Mark the lock_reason as 'resolved' instead of 'spam' for clarity

* Rethrow the error is locking fails to prevent unnecessary swallowing for this non-blocking workflow
2021-10-08 16:42:41 +00:00
James M. Greene
2ea2e9d64d Ignore dependabot PRs from unallowed triage workflow (#22012) 2021-10-08 11:30:46 -05:00
James M. Greene
7fba77dfe6 Use pull_request_target for better security with forked PRs (#22024) 2021-10-08 10:00:33 -05:00
dependabot[bot]
14e5728bf8 Bump actions/stale from 3.0.16 to 4 (#21982)
* Bump actions/stale from 3.0.16 to 4

Bumps [actions/stale](https://github.com/actions/stale) from 3.0.16 to 4.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](9d6f46564a...cdf15f641a)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update actions/stale in allowed-actions

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-10-08 13:53:45 +00:00
dependabot[bot]
db2b57c751 Bump repo-sync/pull-request from 2.4.3 to 2.6 (#21985)
* Bump repo-sync/pull-request from 2.4.3 to 2.6

Bumps [repo-sync/pull-request](https://github.com/repo-sync/pull-request) from 2.4.3 to 2.6.
- [Release notes](https://github.com/repo-sync/pull-request/releases)
- [Commits](33777245b1...65194d8015)

---
updated-dependencies:
- dependency-name: repo-sync/pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update repo-sync/pull-request in allowed-actions

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-10-08 06:38:07 +00:00
dependabot[bot]
4ea3d75f36 Bump peter-evans/create-pull-request from 3.5.2 to 3.10.1 (#21983)
* Bump peter-evans/create-pull-request from 3.5.2 to 3.10.1

Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3.5.2 to 3.10.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](8c603dbb04...7380612b49)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update create-pull-request in allowed-actions

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-10-08 06:21:04 +00:00