-
-
Notifications
You must be signed in to change notification settings - Fork 695
Automated the generation of changelogs in text format #39024
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
0fe4a58
Create changelog_trigger.yml
soham30rane 0e3ed64
Update changelog_trigger.yml: removed unnecessary secret 'CHANGELOG_T…
soham30rane f34e921
Update changelog_trigger.yml : changed name 'PERSONAL_ACCESS_TOKEN' t…
soham30rane b804496
Merge branch 'sagemath:develop' into develop
soham30rane fc99d67
Improved naming in changelog_trigger.yml
soham30rane 72d1e6d
Now changelog generation won't be triggered on pre-release
soham30rane 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 hidden or 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,23 @@ | ||
| name: Trigger Changelog Generation | ||
|
|
||
| on: | ||
| release: | ||
| types: [published] | ||
|
|
||
| jobs: | ||
| trigger-website-repo-workflow: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Trigger Generate Changelog Workflow in website repo | ||
| if: "!github.event.release.prerelease" | ||
| env: | ||
| GITHUB_PAT: ${{ secrets.WEBSITE_ACCESS_TOKEN }} | ||
| RELEASE_TAG: ${{ github.event.release.tag_name }} | ||
kwankyu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| run: | | ||
| curl -L \ | ||
| -X POST \ | ||
| -H "Accept: application/vnd.github+json" \ | ||
| -H "Authorization: Bearer $GITHUB_PAT" \ | ||
| -H "X-GitHub-Api-Version: 2022-11-28" \ | ||
| https://api.github.com/repos/sagemath/website/actions/workflows/generate_changelog.yml/dispatches \ | ||
| -d '{"ref":"master","inputs":{"release_tag":"'"$RELEASE_TAG"'"}}' | ||
kwankyu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.