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
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
Peter Bengtsson
e560a23b0d
add Dependabot configuration file ( #21969 )
...
* add Dependabot configuration file
2021-10-07 22:20:17 +00:00
James M. Greene
6b33c9cc40
Handle Dependabot PRs differently per repository ( #21978 )
...
* Update workflow to automerge dependabot PRs for the internal repo but close them for the open source repo
2021-10-07 21:32:34 +00:00
Sarah Edwards
4c95de7b4b
works if contributor has no issues or PRs in docs repo ( #21937 )
...
Co-authored-by: James M. Greene <JamesMGreene@github.com >
2021-10-06 22:09:04 +00:00
James M. Greene
bb0455962e
Do not use build.status as a looping condition for Heroku deployment ( #21909 )
...
* Do not use `build.status` of 'pending' as a looping condition for Heroku deployment
* Don't wait for `appSetup.status` either
* Fix incorrect Octokit method usage in local deploy script
* Bump the number of allowable errors from 5 to 10
* More logging!
* Add an environment variable for easily increasing the number of allowed Heroku failures per phase of polling
2021-10-06 12:57:30 -05:00
James M. Greene
3127fa9f7a
Pass labels to add as an array of strings ( #21902 )
2021-10-05 15:10:10 -05:00
Octomerger Bot
8c5b21e58f
Merge branch 'main' into repo-sync
2021-10-05 15:50:21 -04:00
James M. Greene
39e828d7d9
Use REST API to add and remove labels during undeployment ( #21900 )
2021-10-05 14:41:29 -05:00
Mike Surowiec
f0c9debed2
Merge branch 'main' into patch-3
2021-10-05 15:02:17 -04:00
James M. Greene
da426a9d22
Grant the GITHUB_TOKEN write access to PRs during undeployment ( #21898 )
2021-10-05 13:43:20 -05:00
James M. Greene
0f8af1c430
Inline the 'await-sleep' module for the deploy workflow to avoid the need to checkout and install npm modules ( #21896 )
2021-10-05 13:34:12 -05:00
James M. Greene
5136750fd2
Pass the PR URL to the gh CLI to avoid repo resolution attempts ( #21895 )
2021-10-05 13:27:27 -05:00
Ramya Parimi
a44f10387c
Merge branch 'main' into patch-3
2021-10-05 13:17:10 -05:00
James M. Greene
3184b254a0
Declare that undeploy job needs cancel-jobs-before-undeploy job ( #21894 )
2021-10-05 12:31:47 -05:00
James M. Greene
18e173412a
Add missing GITHUB_TOKEN env var to gh CLI usage ( #21893 )
2021-10-05 11:34:53 -05:00
James M. Greene
600e6403d8
Send a Slack notification if Undeploy workflow fails ( #21886 )
...
* Reconfigure workflow concurrency groups to avoid conflicts across PRs
* Send a Slack notification if Undeploy workflow fails
* Adjust step names for Slack notifications
* Remove merge conflict
2021-10-05 11:25:57 -05:00
James M. Greene
fa810d97b4
Add a label to the PR to block deploy attempts during an undeploy ( #21885 )
2021-10-05 11:21:15 -05:00
James M. Greene
5ea869c59f
Reconfigure workflow concurrency groups to avoid conflicts across PRs ( #21884 )
...
* Reconfigure workflow concurrency groups to avoid conflicts across PRs
* Remove superfluous and duplicative job display names
2021-10-05 11:14:47 -05:00
Bradley Grainger
c46e43e03b
Fix link to self-review.
2021-10-05 06:26:03 -07:00
Ramya Parimi
e155947dd0
Update os-ready-for-review.yml ( #21867 )
2021-10-04 18:46:55 +00:00
James M. Greene
4ff2354ada
Approve repo-sync and translation PRs with docubot ( #21876 )
2021-10-04 17:37:07 +00:00
James M. Greene
43fff33db8
Destructure correctly from Actions workflow run API response ( #21872 )
...
* Get PR metadata from the correct object strucure
* Also output the head_branch and head_label just in case
2021-10-04 10:59:18 -05:00
James M. Greene
bcc94873d2
Fixes to support staging deployments of PRs from forked repos ( #21865 )
...
* Add basic debugging jobs to all workflows related to staging deployment
* Totally rewrite the staging deployment to support forked repos... again...
2021-10-04 10:28:13 -05:00
Ramya Parimi
bc1158f1fc
Update triage automation to check doc team member ( #21856 )
...
* to check if team members
* check for doc team member
* remove duplicate check for team members
* delete/readd step
Co-authored-by: skedwards88 <skedwards88@github.com >
2021-10-01 21:22:35 +00:00
James M. Greene
a9e2bf0927
Dump debugging info for Staging Deploy workflow runs ( #21860 )
...
* Dump the github context for Staging Deploy workflow runs to help debug
* Output workflow provenance info
* Also output head_branch cleanly
2021-10-01 15:22:58 -05:00
Sarah Edwards
4eb672aca4
fix sizes ( #21859 )
2021-10-01 20:05:15 +00:00
James M. Greene
8d2e1ad577
Enable prod deployment via Actions (Take 2!) ( #21852 )
...
* Move concurrency control to top-level in prod deploy workflow
* Add 503 to the list of temporarily acceptable Heroku failure codes
* Add HEROKU_PRODUCTION_APP_NAME back into the prod deploy workflow
2021-10-01 13:37:46 -05:00
Grace Park
96ff67d756
Workflow to test docs.github.com links on github/github ( #21601 )
...
* run prettier
* removing files from test/integration
* update cron job to not start on the hour
* add github/github comment
* update comment
* updating to search by indices in the content rather than by line
* small updates and updating character max
* update name of script run
* updating to use api search code and get contents
* using api search code and get contents
* adding token check and .js
* remove blank line for title
* update issue body content
* update comment
* add support for GitHub.developer_help_url links
2021-10-01 17:23:58 +00:00
James M. Greene
92cae89506
Reduce repo-sync frequency from every 15 minutes to every 30 minutes ( #21841 )
2021-10-01 11:57:01 -05:00
Sarah Edwards
f2347b7192
Adjust due date and xs size for function to add items to review board ( #21846 )
2021-10-01 08:55:23 -07:00
Ramya Parimi
e12d988c76
Automate triaging to content review board on adding waiting for review label ( #21825 )
...
* os-ready-for-review
* include grapqhl issue
* populate size, feature, first-time contributor (#21810 )
* turnaround -> 3 & 2
* Update .github/workflows/os-ready-for-review.yml
Co-authored-by: Sarah Edwards <skedwards88@github.com >
* Update .github/workflows/os-ready-for-review.yml
Co-authored-by: Sarah Edwards <skedwards88@github.com >
* Update .github/workflows/os-ready-for-review.yml
Co-authored-by: Sarah Edwards <skedwards88@github.com >
* Update .github/workflows/os-ready-for-review.yml
Co-authored-by: Sarah Edwards <skedwards88@github.com >
* Update .github/workflows/os-ready-for-review.yml
Co-authored-by: Sarah Edwards <skedwards88@github.com >
* prettier
Co-authored-by: skedwards88 <skedwards88@github.com >
2021-10-01 06:26:02 -05:00
Robert Sese
d74f60b937
Checkout in both internal and public repos ( #21839 )
2021-09-30 17:54:03 -05:00
James M. Greene
b9d3257689
Deploy staging with Git LFS enabled ( #21824 )
...
* Do an LFS checkout for the staging deployment
* Switch from rsync to mv for much faster performance (at the cost of destruction)
2021-09-30 14:00:32 -05:00
James M. Greene
a0fcbe6c27
Do an LFS checkout for the production deployment ( #21823 )
2021-09-30 11:24:05 -05:00
Ramya Parimi
991e954071
Merge branch 'main' into graphql-internal-move
2021-09-29 20:25:52 -05:00
Ramya Parimi
58d2f6f4e2
graphql update workflow
2021-09-29 20:21:56 -05:00
James M. Greene
7e954927e2
[DO NOT MERGE] Revert to no longer deploy to production via Actions ( #21808 )
...
* Update the production deployment workflow to target the main Heroku app
Without exposing our internal Heroku app name!
* Refactor the staging deployment script a bit to match more closely
* Use the HEROKU_PRODUCTION_APP_NAME Secret in the workflow
* Add a note about the newly required environment variable for production deployment into the local deploy script
* Add critical errors if the HEROKU_PRODUCTION_APP_NAME is missing
* Extract HEROKU_PRODUCTION_APP_NAME from process.env
* Revert the critical parts of PR #21807 to no longer deploy to prod via Actions
* Don't require HEROKU_PRODUCITON_APP_NAME
2021-09-29 15:29:53 -05:00
James M. Greene
90d030a41e
Deploy to the primary production Heroku App via Actions ( #21807 )
...
* Update the production deployment workflow to target the main Heroku app
Without exposing our internal Heroku app name!
* Refactor the staging deployment script a bit to match more closely
* Use the HEROKU_PRODUCTION_APP_NAME Secret in the workflow
* Add a note about the newly required environment variable for production deployment into the local deploy script
* Add critical errors if the HEROKU_PRODUCTION_APP_NAME is missing
* Extract HEROKU_PRODUCTION_APP_NAME from process.env
2021-09-29 14:43:29 -05:00
Melanie Yarbrough
2a10e30adc
New workflow to aid internal contributions in PRs ( #21612 )
...
Co-authored-by: Sarah Edwards <skedwards88@github.com >
2021-09-29 13:09:26 -04:00
James M. Greene
12134aa84b
Use staging app name module for content changes table generation ( #21805 )
...
* Use the 'script/deployment/create-staging-app-name' module when creating the content changes table comments
* Remove the shebang from the non-runnable script helper module
2021-09-29 09:00:19 -07:00
James M. Greene
a9bea255a3
Use more unique job names to work around Required Checks ( #21794 )
2021-09-28 15:23:41 -05:00
James M. Greene
deab27360c
Announce if Heroku appears to be down ( #21762 )
2021-09-27 20:17:05 +00:00
James M. Greene
d7aaa98c97
Move early access content over granularly ( #21754 )
2021-09-27 13:14:50 -05:00
James M. Greene
a76f30e5f2
Move delay for Heroku Preboot to before marking deployment successful ( #21736 )
...
* Move delay for Heroku Preboot from post-deploy to pre-success
* Shorten arbitrary delay before first Fastly purge
2021-09-24 19:35:13 -05:00