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

86 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 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
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
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
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
Peter Bengtsson
3cf15e0c83 fix automerge-dependencies.yml (#22164)
Part of #1014
2021-10-18 12:16:16 +00: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
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
dependabot[bot]
cbda03cab7 Bump dawidd6/action-download-artifact from 2.14.0 to 2.15.0 (#21981)
* Bump dawidd6/action-download-artifact from 2.14.0 to 2.15.0

Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](b957148472...af92a8455a)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Update action-download-artifact 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 01:03:31 -05:00
Marcelo Jacobus
e4f7746d85 Fix broken crowdin sync action (#21624) 2021-09-23 08:50:47 -07:00
James M. Greene
08db1c970c Refactor Staging deployment workflow to support open source PRs (#20459)
* Add a Staging build workflow

* Remove all commented out code from build workflow

It will be handled in https://github.com/github/docs-engineering/issues/726

* Use pinned version of upload-artifact action

* Tweaks to build

* Minor deployment script refactoring

* Update the Staging deployment workflow

* Missed refactoring tweak

* Add relevant comments

* Update Heroku app naming convention for Actions deploy to include 'gha-' prefix

* Update Heroku app ConfigVars and SourceBlob for optional prebuilt app

* Remove obsolete 'dist/' dir from PR build artifact

See https://github.com/github/docs-internal/pull/20405

* Ensure a new enough version of npm is used

* Switch to creating a tarball for upload

* Remove obsolete 'layouts' dir from file list

* Ditch the verbosity for 'tar'... too many files

* Add tarball support to deploy

* Add esm workaround to deploy script

See https://github.com/actions/github-script/issues/168

* Temporarily ignore staging deploy workflow from workflow linter

* Update deployment to use a Heroku Build Source instead of a GitHub Actions Artifact

* Update undeploy workflow to use ESM workaround

See https://github.com/actions/github-script/issues/168

* Add 'esm' package to optionalDependencies to better support workaround

See https://github.com/actions/github-script/issues/168

* Add Slack notifications for workflow failures

* Wrap AppSetup polling in try-catch

* Improve dyno monitoring

* Rename 'script/deploy' to have a .js extension #esm

* Update script references to include the extension

* Use non-deprecated Sources API for Heroku

* Use normal quotes

* Stub in a step to mark deployment inactive after timing out

* Apply suggestions from code review

Co-authored-by: Rachael Sewell <rachmari@github.com>

Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-08-25 20:45:51 +00:00
Grace Park
4cca977ac4 GitHub Action Content Table Changes (#21077)
* Creating actions for adding staging and article links to PR for content writers

* Ran prettier

* update capitalization in yml file

* Update .github/workflows/content-changes-table-comment.yml

Co-authored-by: Rachael Sewell <rachmari@github.com>

* Update .github/workflows/content-changes-table-comment.yml

Co-authored-by: Rachael Sewell <rachmari@github.com>

* Update .github/actions-scripts/get-content-changes-table.js

Co-authored-by: Rachael Sewell <rachmari@github.com>

* Updating fc to findComment

* Update .github/actions-scripts/get-content-changes-table.js

Co-authored-by: Rachael Sewell <rachmari@github.com>

* updating constant

* updating fetch depth

* Updating yml file and removing script

* Adding actions commit for github-script

* updating table info

* Using mel's wording

* update allowed actions

* Update .github/workflows/content-changes-table-comment.yml

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

* linting

* update

* Testing content change

* removing tests

* updating npm install

* back to ci

* adding setup node step

Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
2021-08-24 10:39:22 -07:00
Grace Park
4f7d5c53bc Revert "Creating Action for adding staging and article links to PR for conte… (#19561)" (#21075)
This reverts commit d8f7b45e38.
2021-08-24 10:18:02 -07:00
Grace Park
d8f7b45e38 Creating Action for adding staging and article links to PR for conte… (#19561)
* Creating actions for adding staging and article links to PR for content writers

* Ran prettier

* update capitalization in yml file

* Update .github/workflows/content-changes-table-comment.yml

Co-authored-by: Rachael Sewell <rachmari@github.com>

* Update .github/workflows/content-changes-table-comment.yml

Co-authored-by: Rachael Sewell <rachmari@github.com>

* Update .github/actions-scripts/get-content-changes-table.js

Co-authored-by: Rachael Sewell <rachmari@github.com>

* Updating fc to findComment

* Update .github/actions-scripts/get-content-changes-table.js

Co-authored-by: Rachael Sewell <rachmari@github.com>

* updating constant

* updating fetch depth

* Updating yml file and removing script

* Adding actions commit for github-script

* updating table info

* Using mel's wording

* update allowed actions

* Update .github/workflows/content-changes-table-comment.yml

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

* linting

* update

* Testing content change

* removing tests

* updating npm install

* back to ci

Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
2021-08-24 09:45:52 -07:00
Sarah Edwards
f7af358edc Update workflow to add docs-reviewers review requests to docs-content review board (#20388) 2021-07-26 21:05:36 +00:00
github-openapi-bot
fa99cdf2b4 Update OpenAPI Descriptions (#20403)
* Update OpenAPI Descriptions

* update the add-and-commit action to latest version

* manually update decorated files

* fix: update allowed-actions

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-07-22 16:25:52 +00:00
James M. Greene
a0eff64e4f Lint *.yaml workflows, too (#20445)
* Lint .yaml workflows, too
* Ignore workflow that uses non-GA-ed feature
* Update to the latest actions-linter to fix the partial-expression problem (cschleiden/github-actions-parser#18)
2021-07-21 19:13:44 +00:00
James M. Greene
265f074565 Update actions-linter to latest for concurrency key support (#20441)
* Update version of actions-linter to support 'concurrency' key
* Update .github/workflows/workflow-lint.yml
* Revert casing of 'fromJson' to 'fromJSON'
2021-07-21 15:40:42 +00:00
Matt Pollard
92fd200e2b Update action for broken link reports to add context to and close prior reports (#20213) 2021-07-19 10:59:02 +02:00
Kevin Heis
8a56437c93 Pretty format (#20352)
* Update prettier flow to include JS

* Run prettier

* ...run prettier
2021-07-14 14:35:01 -07:00
Kevin Heis
42e785b0a8 Migrate CommonJS to ESM (#20301)
* First run of script

* Get the app running --- ish

* Get NextJS working

* Remove `node:`

* Get more tests passing in unit directory

* Update FailBot test to use nock

* Update test.yml

* Update Dockerfile

* tests/content fixes

* Update page.js

* Update build-changelog.js

* updating tests/routing

* Update orphan-tests.js

* updating tests/rendering

* Update .eslintrc.js

* Update .eslintrc.js

* Install jest/globals

* "linting" tests

* staging update to server.mjs

* Change '.github/allowed-actions.js' to a ESM export

* Lint

* Fixes for the main package.json

* Move Jest to be last in the npm test command so we can pass args

* Just use 'npm run lint' in the npm test command

* update algolia label script

* update openapi script

* update require on openapi

* Update enterprise-algolia-label.js

* forgot JSON.parse

* Update lunr-search-index.js

* Always explicitly include process.cwd() for JSON file reads pathed from project root

* update graphql/update-files.js script

* Update other npm scripts using jest to pass ESM NODE_OPTIONS

* Update check-for-enterprise-issues-by-label.js for ESM

* Update create-enterprise-issue.js for ESM

* Import jest global for browser tests

* Convert 'script/deploy' to ESM

Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: James M. Greene <jamesmgreene@github.com>
2021-07-14 13:49:18 -07:00
James M. Greene
149864b7ba Use the easy npm caching now built into actions/setup-node (#20316) 2021-07-13 10:42:07 -05:00
Grace Park
b2bda9ea38 removing unused actions - tests/unit/actions-workflows.js is failing (#20223) 2021-06-30 12:56:18 -04:00
Kevin Heis
df8cfadf18 Remove ruby action (#19961)
https://github.com/github/docs-internal/pull/19910
2021-06-16 16:45:21 +00:00
James M. Greene
f3de3ee618 Update actions/github-script usage to v4.0.2 (#19897) 2021-06-15 16:09:15 +00:00
Matt Pollard
9ecccfdf33 Bump peter-evans/create-issue-from-file to support repository input (#19922) 2021-06-15 15:57:12 +00:00
Mike Surowiec
c0e604c9ba fix: remove unused from allowed-actions 2021-05-20 14:16:16 -07:00
Sarah Edwards
6a1ec6db99 Add script and workflow to add docs-reviewer reqests to the FR board (#19226) 2021-05-10 23:31:23 +00:00
James M. Greene
16cdd98ea5 Automatically close spammy repo-sync PRs (#18719)
* Update to latest find-pull-request-action

* Remove repetitive part of comments in allowed-actions.js

* Specify that we are seeking open PRs

* Use a PAT with site_admin scope granted to include spammy PRs
2021-04-13 18:43:22 +00:00
Chiedo John
c6a0f4dc8d No more skipping workflows (#18674)
Co-authored-by: chiedo <chiedo@users.noreply.github.com>
2021-04-09 11:31:54 -04:00
Lee Dohm
c3fe8bccd5 Add no-response to allowed-actions and pin to specific hash 2021-04-06 12:03:56 -07:00
Sarah Edwards
f9be78e493 use gh cli instead of graphql api (#18429) 2021-03-26 18:06:55 +00:00
Rachael Sewell
c535420c77 decorate script fix (#18201) 2021-03-15 18:40:00 -07:00
Sarah Edwards
c5215c4e07 Add workflow to move issues to "help wanted" column when "help wanted" or "good first issue" labels are added (#18047) 2021-03-10 18:11:03 +00:00
Rachael Sewell
f4c3a35602 temporary puppeteer container changes to revert Chrome browser(#18131) 2021-03-05 16:43:58 -08:00
Sarah Edwards
37fa44d53d Add slash command and workflow to remove issue or PR from FR board (#18101) 2021-03-04 14:57:18 -08:00
Rachael Sewell
148bf0901e Revert "Revert "Revert "update repo sync"" (#17935)" (#17971)
This reverts commit c371e18512.
2021-02-23 19:38:46 +00:00
Rachael Sewell
c371e18512 Revert "Revert "update repo sync"" (#17935) 2021-02-23 19:21:15 +00:00
Chiedo John
240e2a0283 Add status automation (#17939)
* Add status automation

Co-authored-by: chiedo <chiedo@users.noreply.github.com>
2021-02-23 08:46:07 -05:00
Rachael Sewell
b0867e611b Revert "update repo sync (#17919)" (#17933) 2021-02-19 21:36:52 +00:00
Rachael Sewell
afd3cef086 update repo sync (#17919) 2021-02-19 19:59:15 +00:00
Rachael Sewell
6ce85ac200 Update allowed-actions.js (#17873) 2021-02-16 21:52:46 +00:00
Chiedo John
c0f5e594c2 Upgrade Actions Stale and Upgrade the public stale check (#17871)
Co-authored-by: chiedo <chiedo@users.noreply.github.com>
2021-02-16 16:36:47 -05:00
Rachael Sewell
6c2754c15f use official ruby action (#17844) 2021-02-16 20:57:39 +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