Skip to content

ウマ娘の因子をよしなにつなげるやつを作る #91

ウマ娘の因子をよしなにつなげるやつを作る

ウマ娘の因子をよしなにつなげるやつを作る #91

Workflow file for this run

name: Update README with Issue List
on:
issues:
types:
- opened
- edited
- closed
- reopened
env:
GH_USERNAME: ${{ secrets.GH_USERNAME }}
GH_USEREMAIL: ${{ secrets.GH_USEREMAIL }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
REPOSITORY: ${{ secrets.REPOSITORY }} # e.g. niwanowa/niwanowa-ideas
jobs:
update_readme:
runs-on: ubuntu-latest
defaults:
run:
working-directory: .github/workflows/update_readme
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Update README
run: python update_readme.py
- name: Set Git Config
run: |
git config user.name "$GH_USERNAME"
git config user.email "$GH_USEREMAIL"
- name: Commit and Push Changes
run: |
cd $GITHUB_WORKSPACE
git diff | grep ""
git add README.md
git remote set-url origin https://github-actions:$GH_TOKEN@github.com/$REPOSITORY.git
git commit -m "Update README with latest issues"
git push