ci(release_checker): Script for check changes after last release for … #11
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: Daily Release Check | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize, labeled] | |
| schedule: | |
| - cron: '0 0 * * *' # every day at midnight | |
| workflow_dispatch: # can be run manually | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pages: write | |
| id-token: write | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # all git history | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Run release_checker.py | |
| run: | | |
| sudo apt-get update && sudo apt-get install -y pandoc | |
| pip install requests pyyaml tabulate wcwidth | |
| python .github/ci/release_checker.py > output.md | |
| cat output.md | |
| mkdir site | |
| pandoc output.md -o site/release_checker.html | |
| - name: Upload file to gh pages | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: site | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |