Skip to content

ci(release_checker): Script for check changes after last release for … #10

ci(release_checker): Script for check changes after last release for …

ci(release_checker): Script for check changes after last release for … #10

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
- 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