Skip to content

Commit 62a8891

Browse files
heiskrSarah Edwards
andauthored
Add descriptions to our actions workflows (#18019)
Co-authored-by: Sarah Edwards <skedwards88@github.com>
1 parent 39dd150 commit 62a8891

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+209
-7
lines changed

.github/workflows/60-days-stale-check.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
name: 60 Days Stale Check
2+
3+
# **What it does**: Pull requests older than 60 days will be flagged as stale.
4+
# **Why we have it**: We want to manage our queue of issues and pull requests.
5+
# **Who does it impact**: Everyone that works on docs or docs-internal.
6+
27
on:
38
schedule:
49
- cron: '40 16 * * *' # Run each day at 16:40 UTC / 8:40 PST

.github/workflows/auto-label-prs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Auto label Pull Requests
22

3+
# **What it does**: Automatically adds the engineering label when specific files change.
4+
# **Why we have it**: Other automation applies specifically to engineering label issues and pull requests.
5+
# **Who does it impact**: Automation that relies on the engineering label.
6+
37
on:
48
pull_request:
59

.github/workflows/automerge-dependencies.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Auto Merge Dependency Updates
22

3+
# **What it does**: Automatically merge pull requests from dependabot.
4+
# **Why we have it**: To keep our dependencies up-to-date, to avoid security issues.
5+
# **Who does it impact**: It helps docs engineering focus on higher value work.
6+
37
on:
48
pull_request:
59
paths:

.github/workflows/automerge.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
name: automerge
2+
3+
# **What it does**: Pull requests with label "automerge" or "autosquash" will automatically merge.
4+
# **Why we have it**: While now this is a feature built into GitHub, we still use it as part of other automation.
5+
# **Who does it impact**: Any workflows that depend on automerge or autosquash labels.
6+
27
on:
38
pull_request:
49
types:

.github/workflows/autoupdate-branch.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: autoupdate branch
22

3+
# **What it does**: Any pull requests with "autoupdate" label will get main branch updates.
4+
# **Why we have it**: Our repo-sync automation relies on it.
5+
# **Who does it impact**: Our ability to support the open-source repository.
6+
37
#
48
# This workflow checks all open PRs targeting `main` as their base branch and
59
# will attempt to update them if they have the `autoupdate` label applied.

.github/workflows/browser-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Browser Tests
22

3+
# **What it does**: This runs our browser tests on pull requests.
4+
# **Why we have it**: This is the only way we currently test our browser JavaScript.
5+
# **Who does it impact**: Docs engineering, open-source engineering contributors.
6+
37
on:
48
workflow_dispatch:
59
push:

.github/workflows/build-docker-image.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
# Make sure the Docker container still builds
2-
31
name: Build Docker image
42

3+
# **What it does**: This builds our Docker container.
4+
# **Why we have it**: We don't use the Docker container internally, but other teams depend on our Docker container.
5+
# **Who does it impact**: Enterprise customers.
6+
57
on:
68
push:
79
branches:

.github/workflows/check-all-english-links.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Check all English links
22

3+
# **What it does**: This script once a day checks all English links and reports in issues.
4+
# **Why we have it**: We want to know if any links break.
5+
# **Who does it impact**: Docs content.
6+
37
on:
48
workflow_dispatch:
59
schedule:

.github/workflows/check-for-spammy-issues.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
name: Check for Spammy Issues
2+
3+
# **What it does**: This action closes low value pull requests in the open-source repository.
4+
# **Why we have it**: We get lots of spam in the open-source repository.
5+
# **Who does it impact**: Open-source contributors.
6+
27
on:
38
issues:
49
types: [opened]
@@ -32,7 +37,7 @@ jobs:
3237
return
3338
} catch(err) {
3439
// An error will be thrown if the user is not a GitHub employee
35-
// If a user is not a GitHub employee, we should check to see if title has at least the minimum required number of words in it and if it does, we can exit the workflow
40+
// If a user is not a GitHub employee, we should check to see if title has at least the minimum required number of words in it and if it does, we can exit the workflow
3641
3742
if(titleWordCount > titleWordCountMin) {
3843
return
@@ -42,7 +47,7 @@ jobs:
4247
//
4348
// Assuming the user is not a GitHub employee and the issue title
4449
// has the minimum number of words required, proceed.
45-
//
50+
//
4651
4752
// Close the issue and add the invalid label
4853
await github.issues.update({

.github/workflows/close-external-repo-sync-prs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Check for External Repo Sync PR
22

3+
# **What it does**: If someone made a repo sync pull request other than Octomerger, close it.
4+
# **Why we have it**: Another form of spam in the open-source repository.
5+
# **Who does it impact**: Open-source contributors.
6+
37
on:
48
pull_request:
59
types:

0 commit comments

Comments
 (0)