Skip to content

o 2

o 2 #68

Workflow file for this run

name: move
on:
issues:
types: [opened]
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE_TITLE: ${{ github.event.issue.title }}
ISSUE_AUTHOR: ${{ github.event.issue.user.login }}
steps:
- name: View issue information
run: |
echo "Issue title: $ISSUE_TITLE"
echo "Issue author: $ISSUE_AUTHOR"
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '12'
- run: npm ci
- run: node build/lib/move.js $ISSUE_AUTHOR $ISSUE_TITLE
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "donadev"
- run: git remote set-url --push origin https://donadev:[email protected]/donadev/TicTacToe
- run: git add .
- run: git commit -am "Refreshed output" && git push
- name: Close Issue
uses: peter-evans/close-issue@v1
with:
comment: Move persisted