-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Action to sync release notes with nebari-docs (#1554)
Co-authored-by: Nebari-sensei <116370392+nebari-sensei@users.noreply.github.com>
- Loading branch information
1 parent
eb6d01b
commit d785432
Showing
3 changed files
with
42 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Configuration for ./workflows/release-notes-sync | ||
# Ref: https://github.com/BetaHuhn/repo-file-sync-action | ||
|
||
group: | ||
repos: nebari-dev/nebari-docs | ||
files: | ||
- source: RELEASE.md | ||
dest: docs/reference/RELEASE.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Sync release notes with nebari.dev/docs | ||
|
||
on: | ||
release: | ||
types: [created] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
sync: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@master | ||
- name: Run Release File Sync ♻️ | ||
uses: BetaHuhn/repo-file-sync-action@v1 | ||
with: | ||
GH_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
CONFIG_PATH: .github/release-notes-sync-config.yaml | ||
COMMIT_BODY: "MAINT - Sync release notes :robot:" | ||
PR_LABELS: | | ||
type: file sync ♻️ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters