change employee name #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto Resize Images | |
on: | |
pull_request: | |
jobs: | |
resize: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.x" | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
pip install Pillow | |
- name: Run resize script | |
run: | | |
python3 auto-resize.py | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add . | |
git commit -m "Add edited photos" | |
git push |