-
Notifications
You must be signed in to change notification settings - Fork 4
30 lines (28 loc) · 913 Bytes
/
contribute.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
name: Contributing to the Contributors
on: [push]
jobs:
build:
name: Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.9"
architecture: "x64"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Updating README.md
run: python main.py
env:
INPUT_REPO_NAME: '${{github.repository}}'
INPUT_ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}}
INPUT_CONTRIBUTOR: '### Contributors'
INPUT_FILEPATH: '/README.md'
INPUT_COLUMN_PER_ROW: '4'
INPUT_IMG_WIDTH: '50'
INPUT_FONT_SIZE: '14'
INPUT_COMMIT_MESSAGE: 'Contributed to the README.md'