-
Notifications
You must be signed in to change notification settings - Fork 577
43 lines (36 loc) · 1.16 KB
/
update-feature-gates.yml
File metadata and controls
43 lines (36 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Update Feature Gates
on:
workflow_dispatch:
schedule:
- cron: "23 3 * * *" # Daily at 3:23 am UTC
permissions:
contents: write
pull-requests: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install requests beautifulsoup4 solders solana pydantic
- name: Scrape and generate features
run: python scripts/parse_feature_gates.py
- name: Fetch mainnet activations
run: python scripts/fetch_mainnet_activations.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