-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Action to sync release notes with nebari-docs #1554
Merged
iameskild
merged 6 commits into
nebari-dev:release/2022.11.1
from
pavithraes:release-notes-sync
Nov 30, 2022
+42
−7
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
247b8e5
Add Note about QHub->Nebari rename in old docs (#1543)
pavithraes 21db764
🔄 Synced file(s) with nebari-dev/.github (#1550)
nebari-sensei cab1c3b
🔄 Synced file(s) with nebari-dev/.github (#1551)
nebari-sensei 0f2c011
action to sync release notes with nebari-docs
pavithraes 7d1fc6d
update RELEASE.md headers, add note about qhub
pavithraes 7431c6d
Merge branch 'release/2022.11.1' into release-notes-sync
pavithraes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does
secrets.GITHUB_TOKEN
have permission tonebari-dev/nebari-docs
?If not, do we need a new secret for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure but we can update this in the future should it fail 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iameskild Looks like it doesn't have access, ref: https://github.com/nebari-dev/nebari/actions/runs/3597037385/jobs/6058376405#step:3:15
I see we use
secrets.GH_PAT
in nebari-dev/.github -- @trallard is thissecrets.GH_PAT
an org-level secret that we can use here? If not, we can create a new secret with the required scope.