-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 843 Bytes
/
readme.yml
File metadata and controls
38 lines (32 loc) · 843 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Update readme
on:
schedule:
- cron: '0 * * * *'
workflow_dispatch:
permissions:
contents: write
jobs:
activity-update:
name: Update activity
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
- name: Update with about me
run: python main.py
- name: Commit and push changes
run: |
git pull
git config --global user.name "Github actions"
git config --global user.email "actions@github.com"
git add .
git commit -m "Update README"
git push