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

777 Commits

Author SHA1 Message Date
dependabot[bot]
477c7d96ce Bump docker/build-push-action from 2.7.0 to 2.9.0 (#24892)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.7.0 to 2.9.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.7.0...7f9d37fa544684fb73bfe4835ed7214c255ce02b)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Sese <robert.sese@gmail.com>
2022-02-02 22:32:32 +00:00
dependabot[bot]
62612c36b7 Bump github/codeql-action from 1.0.30 to 1.0.31 (#24891)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](8b37404d56...1a927e9307)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-02-02 22:23:04 +00:00
dependabot[bot]
6507b31604 Bump peter-evans/create-pull-request from 3.12.0 to 3.12.1 (#24893)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](dcd5fd746d...f22a7da129)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Robert Sese <robert.sese@gmail.com>
2022-02-02 22:18:33 +00:00
Kevin Heis
baec102f4c Update optimize-images.yml (#24912) 2022-02-02 22:14:20 +00:00
Mike Surowiec
59b53a9300 Improve docker build (#24692)
* better caching, reduce context size, etc
2022-02-02 21:05:20 +00:00
Mike Surowiec
68037ee244 Swap the fastly edge cache purge to happen on Azure prod deploys (#24871) 2022-02-01 16:04:40 +00:00
Robert Sese
9359183889 openapi-decorate.yml workflow fix: checkout head ref for add-and-commit action (#24814)
* Checkout head ref for add-and-commit action

* Add comment about why we specify the head ref
2022-01-31 23:59:14 +00:00
Chiedo John
5aadc44567 Delete start-new-engineering-pr-workflow.yml (#24843) 2022-01-31 21:55:51 +00:00
Mike Surowiec
9be1f70171 Shard staging across 4 Resource Groups (#24750)
* shard staging across 4 resource groups
2022-01-31 20:11:00 +00:00
Peter Bengtsson
e6a5dd7d8c Remove .rest. from github-script (#24832)
Pair-debugged with @rsese
2022-01-31 18:03:16 +00:00
Kevin Heis
ea58881921 Quick optimize images (#24815) 2022-01-28 15:30:03 -08:00
Peter Bengtsson
d384b85e97 correct use of getWorkflowRun in actions/github-script v5 (#24786) 2022-01-28 11:14:24 -05:00
Rachael Sewell
ef4dee2e7d Revert "Revert "rest/reference/repos#statuses redirect"" (#24559) 2022-01-27 22:09:20 +00:00
Mike Surowiec
86b0cf5f75 add deployment environment to production azure workflow (#24629) 2022-01-27 20:56:54 +00:00
Mike Surowiec
7593b2d274 Use registry + local cache instead of gha (#24658) 2022-01-26 18:52:38 -06:00
Peter Bengtsson
5f3036df69 shut down the old internal link check CI scripts (#23694) 2022-01-26 19:22:59 +00:00
Kevin Heis
f9f27e4497 Revert "Bump actions/github-script (#24563)" (#24665)
This reverts commit 4d3c203a4f.
2022-01-26 18:59:41 +00:00
dependabot[bot]
18ab23d5f0 Bump docker/build-push-action from 2.7.0 to 2.8.0 (#24567)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](a66e35b9cb...1814d3dfb3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-01-26 17:18:30 +00:00
dependabot[bot]
80cb94b2af Bump EndBug/add-and-commit from 7.5.0 to 8.0.1 (#24566)
Bumps [EndBug/add-and-commit](https://github.com/EndBug/add-and-commit) from 7.5.0 to 8.0.1.
- [Release notes](https://github.com/EndBug/add-and-commit/releases)
- [Changelog](https://github.com/EndBug/add-and-commit/blob/main/CHANGELOG.md)
- [Commits](8c12ff729a...756d9ea820)

---
updated-dependencies:
- dependency-name: EndBug/add-and-commit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-01-26 17:13:37 +00:00
dependabot[bot]
e4ed8847a5 Bump actions/stale from 4.0.0 to 4.1.0 (#24564)
Bumps [actions/stale](https://github.com/actions/stale) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](cdf15f641a...7fb802b307)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-01-26 17:03:55 +00:00
dependabot[bot]
4d3c203a4f Bump actions/github-script (#24563)
Bumps [actions/github-script](https://github.com/actions/github-script) from 2b34a689ec86a68d8ab9478298f91d5401337b7d to 5.1.0. This release includes the previously tagged commit.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](2b34a689ec...e3cbab99d3)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-01-26 16:59:51 +00:00
dependabot[bot]
67f00f4e0f Bump azure/login from 1.4.2 to 1.4.3 (#24562)
Bumps [azure/login](https://github.com/azure/login) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/azure/login/releases)
- [Commits](66d2e78565...1f63701bf3)

---
updated-dependencies:
- dependency-name: azure/login
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-01-26 16:55:24 +00:00
dependabot[bot]
5596122e03 Bump github/codeql-action from 1.0.26 to 1.0.30 (#24561)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.0.26 to 1.0.30.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](5f53256358...8b37404d56)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-01-26 16:41:54 +00:00
Mike Surowiec
837e8364bc Improve Azure staging deployment concurrency (#24625)
* Improve azure staging deployment concurrency

* update workflow-lint to ignore undeploy
2022-01-25 12:41:42 -06:00
Peter Bengtsson
cdcf51c779 unique job names across workflows (#24616) 2022-01-25 16:26:25 +00:00
Peter Bengtsson
6d8c309def cleaning up left-over debugging in staging deploy action (#24612) 2022-01-25 15:32:03 +00:00
Mike Surowiec
6c8911eea0 Workflow for staging PR deployments on azure (#24039)
* add workflow for staging PR deployments on azure

* add workflow to clean up azure staging resources
2022-01-24 17:59:56 +00:00
Peter Bengtsson
bc73bde6e5 Fix exclusion of English search indexes (#24501)
* debug search on stage

* debugging more

* keep more

* try again
2022-01-21 17:00:30 +00:00
Mike Surowiec
00c4338d22 use actions substitution so we can use single quotes in sed (#24479) 2022-01-20 17:00:50 -06:00
Mike Surowiec
521d1a13af fix azure prod script to not use import (#24477) 2022-01-20 16:28:21 -06:00
Mike Surowiec
1fdfee0d7a Azure zero downtime prod deploy with slots (#24132)
* prod zero downtime deploy with slots
2022-01-20 22:05:04 +00:00
Peter Bengtsson
0aa755d9fb set unique job key (#24411) 2022-01-18 22:46:52 +00:00
James M. Greene
a83f39beb2 Prevent Link Checker from erring on long file lists (#24269)
* Add '--list' parameter to rendered-content-link-checker script

* Utilize trilom/file-changes-action output files and pass to rendered-content-link-checker script

* Rename job to unique name

* Correct module path for import

* Move import into local imports section

* Dump the contents of the file listing

* Fix typo
2022-01-13 12:46:44 +00:00
Peter Bengtsson
4982564951 check out the correct docs-early-access branch (#24250) 2022-01-13 09:27:09 +00:00
Marcelo Jacobus
cf2603ac01 fix: retry translation batch PR creation if we hit a 502 (#23633)
* Fix error on Pull Request creation

Fix https://github.com/github/docs-engineering/issues/1293. This
solution does not really handle the error, it just prevents the script
from stopping, since sometimes we get a timeout error from the load
balancer even though the request was successfully handled by rails.

* Add a nudge to the localization folks when a batch is created

Ever since the translation batches are created and merged automatically
it is difficult to see when they started or finished correctly. Also,
sometimes, docubot automatically closes some pull requests, and at the
time of this writing I don't know the reason.

This change intends to make batches not go unnoticed. We can revert it
later if this becomes too noisy and the process is stable.

* fix: remove ping to docs-localization team from batch PR body

Discussion: https://github.com/github/docs-internal/pull/23633/files#r771896816

* refactor: move report-reset-files into its own step

* refactor: move git push into its own step

* spike: move PR creation into its own script

* feat: annotate createTranslationBatchPullRequest fn

* enhancement: embed nwo#pr format in logger

* fix: import fs directly

* fix: import @actions/github directly

* docs: update annotations in fn block

* build: update step name to be self-documenting

* Retry on 502

* Rename method to reflect its behaviour

* Update codeowners

* Fix comment

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Appease linter and fix script

* Move options to main

* Rename var

* Refactor options

* Check for response

* First try to find and then to create the PR

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com>

* Remove unreachable conditional

* Lint

* fix: remove duplicate annotation

Co-authored-by: docubot <67483024+docubot@users.noreply.github.com>
Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-01-11 23:06:18 +00:00
James M. Greene
fc25c1a7be Simplify and correct 'npm test' usage in Workflows (#24219) 2022-01-11 21:05:39 +00:00
Mike McDonald
04da545821 Adding Codespace prebuilds to docs-internal (#23952)
* Adding Codespaces prebuilds
* Adding permissions
* Use pinned SHA for github/codespaces-precache action
* Add comments
* Add codespaces-precache repo to reference allow list

Co-authored-by: James M. Greene <jamesmgreene@github.com>
2022-01-11 00:23:08 -06:00
Peter Bengtsson
4406fd9834 treat list of files as space separated (#24176)
* treat list of files as space separated

* debuggnig

* debuggnig

* better

* test now

* cleanup

* all cleanups

* mention feature request on the action
2022-01-11 02:58:45 +00:00
dependabot[bot]
893f50cd7a Bump actions/setup-node from 2.5.0 to 2.5.1 (#24009)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](04c56d2f95...1f8c6b94b2)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-01-10 09:07:53 -05:00
dependabot[bot]
1d20c5d10f Bump actions/cache from 2.1.6 to 2.1.7 (#24013)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](c64c572235...937d244753)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-01-07 23:42:39 +00:00
dependabot[bot]
9028fadad1 Bump peter-evans/create-pull-request from 3.10.1 to 3.12.0 (#24012)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3.10.1 to 3.12.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](7380612b49...dcd5fd746d)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-01-07 23:38:43 +00:00
dependabot[bot]
35366aefc6 Bump actions/upload-artifact from 2.2.4 to 2.3.1 (#24011)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.4 to 2.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](27121b0bdf...82c141cc51)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-01-07 23:34:37 +00:00
dependabot[bot]
366af672fc Bump EndBug/add-and-commit from 7.2.1 to 7.5.0 (#24010)
Bumps [EndBug/add-and-commit](https://github.com/EndBug/add-and-commit) from 7.2.1 to 7.5.0.
- [Release notes](https://github.com/EndBug/add-and-commit/releases)
- [Changelog](https://github.com/EndBug/add-and-commit/blob/main/CHANGELOG.md)
- [Commits](2bdc0a61a0...8c12ff729a)

---
updated-dependencies:
- dependency-name: EndBug/add-and-commit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-01-07 23:30:39 +00:00
Ramya Parimi
03c9f5ea57 Merged notification workflow are failing (#24081)
* Update triage-issue-comments.yml

* Update merged-notification.yml

* Update triage-issue-comments.yml
2022-01-07 02:30:47 +00:00
James M. Greene
2d8a3cc7d0 Add actions:read permissions to GITHUB_TOKEN (#24113) 2022-01-06 17:16:19 +00:00
James M. Greene
be4249b57c Remove the concept of "undeployment" as a part of the PR deployment lifecycle (#23731)
* Update remove-stale-staging-resources workflow to completely replace undeploy workflow
* Delete the staging-undeploy-pr workflow file
* Delete all undeployment scripts and logic
* Remove all references to the automated-block-deploy label used for undeployment
* Simplify staging cross-workflow concurrency needs
2022-01-06 16:27:48 +00:00
Peter Bengtsson
26d2c5438a Check for orphaned assets in CI (#24074) 2022-01-05 16:26:45 +00:00
Mike Surowiec
a840d2bb13 Add production Azure workflow (#24038)
* add prod-build-deploy-azure workflow
2022-01-04 22:40:08 -06:00
Peter Bengtsson
9bdbec73d4 escape echo of changed files in Action (#24058)
* escape echo of changed files in Action

* escaped

* escaped (2)

* temporary

* reset temporary tests
2022-01-04 22:50:43 +00:00
Robert Sese
a9da0c8681 Singular script directory (#24052) 2022-01-04 21:00:47 +00:00