Automate Release Notes Creation #38
Workflow file for this run
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
| name: Generate Release Notes | |
| on: | |
| push: | |
| paths: | |
| - '.github/workflows/generate-release-notes.yml' | |
| pull_request: | |
| paths: | |
| - '.github/workflows/generate-release-notes.yml' | |
| jobs: | |
| generate-release-notes: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.11.12 | |
| - name: Install dependencies | |
| run: pip install requests | |
| - name: Generate release notes file | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| RELEASE_TAG: '0.79.0' # Adjust this release as needed | |
| START_DATE: '2025-05-06' # Adjust this date as needed | |
| END_DATE: '2025-05-30' # Adjust this date as needed | |
| run: | | |
| python .github/scripts/generate_release_notes.py > release_notes.md | |
| mkdir -p .github/release_notes | |
| mv release_notes.md .github/release_notes/release_notes.md | |
| - name: Upload release notes | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: release-notes | |
| path: .github/release_notes/release_notes.md |