Update Feature Gates #4
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
name: Update Feature Gates | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' # Daily at midnight | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install requests beautifulsoup4 | |
- name: Scrape and generate features | |
run: python scripts/parse_feature_gates.py | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
branch-token: ${{ secrets.GITHUB_TOKEN }} | |
sign-commits: true | |
commit-message: 'Update feature gates from Agave wiki' | |
title: 'Automated Feature Gates Update' | |
body: 'Auto-generated PR from daily feature gates check' | |
branch: 'feature-gates-update' | |
base: master | |
maintainer-can-modify: true | |
delete-branch: true |