-
-
Notifications
You must be signed in to change notification settings - Fork 36
32 lines (30 loc) · 852 Bytes
/
update.yml
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
name: Update Versions Manifest
on:
workflow_dispatch:
schedule:
# Run every day at 1:00
- cron: '0 1 * * *'
jobs:
update:
name: Update Versions Manifest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install requirements
run: pip install requests
- name: Generate Versions Manifest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python generate-versions-manifest.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
branch: update-versions-manifest
delete-branch: true
add-paths: |
versions-manifest.json
title: 'Update versions-manifest.json'
commit-message: 'Update versions-manifest.json'