-
-
Notifications
You must be signed in to change notification settings - Fork 14
24 lines (24 loc) · 779 Bytes
/
update-chart.yml
File metadata and controls
24 lines (24 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
on:
push: {branches: ['3.10']}
workflow_dispatch:
jobs:
update-chart:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@master
with:
python-version: '3.10'
- run: pip install gitpython matplotlib
- uses: actions/checkout@master
with:
ref: '3.10'
fetch-depth: 0
- run: python update_switcher_chart.py
- run: git config --local user.email github-actions@github.com
- run: git config --local user.name "GitHub Action's update-chart job"
- run: git add .
- run: git commit -m 'Update language switcher progress chart' || return 0
- uses: ad-m/github-push-action@master
with:
branch: '3.10'
github_token: ${{ secrets.GITHUB_TOKEN }}