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

523 Commits

Author SHA1 Message Date
Mike Surowiec
5c930af422 update docubot pat naming (#21498) 2021-09-14 12:56:07 -04:00
Mike Surowiec
cb78de81f3 update DOCS_BOT -> DOCS_BOT_FR for consistent cross repo naming (#21485) 2021-09-14 15:51:50 +00:00
Rachael Sewell
94e3c092d3 English search sync (#21446) 2021-09-13 17:30:08 +00:00
James M. Greene
8327079a12 Revise permissions for internal board workflow (#21440)
* Only add requests to board when workflow is run internally
* Restrict GITHUB_TOKEN permissions
2021-09-13 17:09:59 +00:00
Robert Sese
6c37f45d61 Docker image deploy: set config vars (#21365)
* Add Hydro secrets as env vars

* Set app config-vars

* Add config vars previously used via app.json
2021-09-10 21:58:49 +00:00
James M. Greene
0dfab8f3df Use @docs-bot for deployment environment cleanup (#21441)
* Restrict stale app cleanup to GITHUB_TOKEN
* Use DOCS_BOT token for stale environment cleanup
2021-09-10 16:47:39 -05:00
James M. Greene
a436395a55 Skip staging deployments for closed PRs (#21425) 2021-09-10 19:47:35 +00:00
James M. Greene
a85a08cb30 Explicitly state Staging workflow permissions (#21428)
* Remove use of Secrets in Staging Build workflows... the open source repo cannot allow them for forked PRs

* Add explicit permissions matrices for all Staging workflows
2021-09-10 19:17:47 +00:00
James M. Greene
b507b67493 Script+workflow to remove stale staging deployment environments (#21399)
* Add a script to remove stale staging deployment environments from GitHub
* Add second job to cleanup GitHub deployment environments
* Specify GITHUB_TOKEN permissions matrix
* Stop marking staging deployments as transient
* Update staging undeployment mechanism to clean-up deployment environments on PR merge
* Define a stale PR as one that was merged or has been closed for more than 2 hours
* Rename workflow file
2021-09-10 14:43:01 +00:00
Ramya Parimi
600590728a Merge branch 'main' into ramyaparimi/close-on-invalid-label 2021-09-10 06:43:18 -05:00
Rachael Sewell
55397df156 update status for deploy timeout (#21349) 2021-09-09 23:13:57 +00:00
Robert Sese
d1ecb446d7 Scale after image release (#21398) 2021-09-09 20:08:28 +00:00
Sarah Edwards
869631cd37 Increase workflow frequency (#21389) 2021-09-09 18:55:29 +00:00
Rachael Sewell
7741796956 Update repo-freeze-reminders.yml (#21387) 2021-09-09 17:25:33 +00:00
Robert Sese
87db4aee2f Docker image deploy: scale Heroku app size (#21369)
* Scale Heroku app size

* Make Heroku key a job level env var
2021-09-09 17:17:17 +00:00
Rachael Sewell
4afdd80f2d Update sync-search-indices.yml (#21375) 2021-09-08 19:59:19 -07:00
Rachael Sewell
038cba325f observer FREEZE variable in search sync workflow (#21372) 2021-09-08 14:58:34 -07:00
Ramya Parimi
1c2c440b1a fix pr close 2021-09-08 10:50:28 -05:00
Mike Surowiec
3c0e4e03b8 fix: pin workflow node-version to 16.8.x (#21361) 2021-09-08 11:08:53 -04:00
Robert Sese
2af1259f27 Docker image deploy fixes: more timeout minutes, Heroku API secret name (#21344)
* Increase timeout-minutes

* Fix secret name
2021-09-07 15:53:13 -04:00
Robert Sese
e4109e5561 Set env vars for image deploy (#21340)
* Set necessary env variables

* Don't need PR_URL
2021-09-07 18:03:20 +00:00
Matt Pollard
586133a2ac Remove old broken link report from Docs Content's first responder project board (#21325) 2021-09-07 17:16:55 +00:00
Ramya Parimi
b4b2a3ae08 Merge branch 'main' into ramyaparimi/close-on-invalid-label 2021-09-07 10:49:24 -05:00
Ramya Parimi
60fdce01a6 Update .github/workflows/close-on-invalid-label.yaml
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-09-07 10:28:06 -05:00
Ramya Parimi
9e00885199 Update .github/workflows/close-on-invalid-label.yaml
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-09-07 10:27:37 -05:00
Ramya Parimi
5e9f566e82 Merge branch 'ramyaparimi/close-on-invalid-label' of https://github.com/github/docs-internal into ramyaparimi/close-on-invalid-label 2021-09-07 10:26:24 -05:00
Ramya Parimi
c4d099e292 prettier 2021-09-07 10:24:36 -05:00
Ramya Parimi
846dac866c Update .github/workflows/close-on-invalid-label.yaml
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-09-07 10:23:46 -05:00
Robert Sese
060119bdd7 Require helper scripts (#21322) 2021-09-07 10:07:02 -05:00
Ramya Parimi
9aa2880ddf Update .github/workflows/close-on-invalid-label.yaml
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
2021-09-07 06:39:09 -05:00
Ramya Parimi
719a9cf63d Create close-on-invalid-label.yaml
Workflow to close issue/PR on adding `invalid` label.
2021-09-07 06:07:13 -05:00
Robert Sese
889b8a4556 Don't persist credentials (#21321) 2021-09-03 17:40:28 -04:00
Mike Surowiec
b51253251f Docker: Clone base branch instead of selective files (#21317)
* clone base branch instead of selective files
2021-09-03 16:54:55 -04:00
Robert Sese
6752962153 Remove commented out steps and keep scripts/ (#21315) 2021-09-03 16:21:51 -04:00
Robert Sese
31fa5d14f9 Unique Docker workflows concurrency group (#21312)
* Unique concurrency group for Docker deploy

* Unique concurrency group for Docker deploy
2021-09-03 19:59:01 +00:00
James M. Greene
3614efff2d Update renamed Octokit function from 'createStatus' to 'createCommitStatus' (#21310) 2021-09-03 14:14:15 -05:00
Robert Sese
1be942c989 Fix directory path (#21309) 2021-09-03 19:02:21 +00:00
James M. Greene
fe767f3da0 Actions staging deployment with Status updates instead of Check Runs (#21283)
* Update Staging deployment workflow to create Status updates

* Update local Staging deployment script to create Status updates

Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-09-03 18:55:24 +00:00
Robert Sese
f0ca29ed46 branches filter applies to base branch on PR (#21306) 2021-09-03 18:37:27 +00:00
Mike Surowiec
5536ec60de fix: docker branch name match for workflow run (#21303) 2021-09-03 14:17:32 -04:00
James M. Greene
0a83ea7869 Fix syntax in Actions staging deploy (#21281)
* Fix syntax error

* Convert dates sent to API to ISO format

* Add details_url with link to Actions run log

Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-09-03 13:13:59 -05:00
Robert Sese
cbfba14ac1 Docker image deploy to Heroku (#21248)
* Start parallel Docker image deploy workflows

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@users.noreply.github.com>

* Add early access content build stage

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>

* Create Heroku App script and workflow steps

* Tag the image for Heroku

* Push the image and grab the image ID

* Set app name and image id outputs

* Add parallel deploy script for Docker

* Scope workflow run to 'docker-' and release image to Heroku

* Update .github/workflows/staging-build-pr-docker.yml

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Exclude Docker workflow

* Cleanup Docker deploys

* Use action sha

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-09-03 16:34:48 +00:00
James M. Greene
b680991468 Fix JS syntax errors (#21278) 2021-09-03 00:00:03 -05:00
James M. Greene
40b376edc1 Revisions to path parsing (#21277) 2021-09-02 23:50:48 -05:00
James M. Greene
f315d49344 Reduce checkout to a single file for efficiency (#21262) 2021-09-02 17:38:03 +00:00
Rachael Sewell
b1a3250686 Update staging-deploy-pr.yml (#21250) 2021-09-01 22:44:14 +00:00
James M. Greene
581bf4529e Un-hard-code repo in deployment Checks API calls (#21246) 2021-09-01 14:40:58 -07:00
James M. Greene
cd1f56005d Small tidying up of Actions deployment for staging (#21221) 2021-09-01 20:19:04 +00:00
Rachael Sewell
1d97c125f0 fix sha ref and Unexpected identifier (#21228)
* fix sha ref and Unexpected identifier

* Update .github/workflows/staging-deploy-pr.yml

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-09-01 17:40:28 +00:00
Grace Park
23f4ea59d5 Updating Content Changes Table (#21130)
* Updating table

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

Co-authored-by: James M. Greene <JamesMGreene@github.com>

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

Co-authored-by: James M. Greene <JamesMGreene@github.com>

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

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

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

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

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

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* updating links

Co-authored-by: James M. Greene <JamesMGreene@github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-09-01 15:55:39 +00:00