1
0
mirror of synced 2026-01-05 21:04:17 -05:00

Create ghes release features (#36718)

This commit is contained in:
Rachael Sewell
2023-05-01 08:57:38 -07:00
committed by GitHub
parent 2876eda1f9
commit 7c7ec9027e
32 changed files with 116 additions and 175 deletions

View File

@@ -1,8 +1,10 @@
name: Enterprise date updater
# **What it does**: Runs on a schedule to update lib/enterprise-dates.json.
# **Why we have it**: The lib/enterprise-dates.json file needs to be up-to-date
# for the .github/workflows/open-enterprise-issue.yml workflow and the
# **What it does**: Runs on a schedule to update
# src/ghes-releases/lib/enterprise-dates.json.
# **Why we have it**: The src/ghes-releases/lib/enterprise-dates.json
# file needs to be up-to-date for the
# .github/workflows/open-enterprise-issue.yml workflow and the
# tests/content/search.js test.
# **Who does it impact**: Docs engineering, docs content.
@@ -40,9 +42,9 @@ jobs:
- uses: ./.github/actions/node-npm-setup
- name: Run script/update-enterprise-dates.js
- name: Run src/ghes-releases/scripts/update-enterprise-dates.js
run: |
script/update-enterprise-dates.js
src/ghes-releases/scripts/update-enterprise-dates.js
env:
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_FR }}
@@ -55,8 +57,8 @@ jobs:
with:
# need to use a token with repo and workflow scopes for this step
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: '🤖 ran script/update-enterprise-dates.js'
title: 🤖 lib/enterprise-dates.json update
commit-message: '🤖 ran src/ghes-releases/scripts/update-enterprise-dates.js'
title: 🤖 src/ghes-releases/lib/enterprise-dates.json update
body:
"Hello! The GitHub Enterprise Server release dates have changed.\n\n
If CI passes, this PR will be auto-merged. :green_heart:\n\n