Add solution for valid tic tac toe position #278
This file contains hidden or 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: Updating readme | |
| on: | |
| workflow_dispatch: | |
| push: { branches: [ "master", "main" ] } | |
| jobs: | |
| reamde-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-python@v2 | |
| with: | |
| persist-credentials: false | |
| fetch-depth: 0 | |
| python-version: '3.x' | |
| architecture: 'x64' | |
| - name: setup git | |
| run: | | |
| git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| git config --local user.name "github-actions[bot]" | |
| git pull | |
| - name: running script | |
| run: | | |
| python -m scripts.auto_update_readme | |
| git commit -m ":memo: Updated Readme" -a || echo "No changes to commit" | |
| git push || echo "No changes to push" |