Something went wrong. Try again.
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031name: Formaton: pushjobs: build: permissions: contents: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Install modules run: yarn --dev - name: Run Formatter run: yarn format - name: config github run: | git config user.name github-actions git config user.email github-actions@github.com
- name: add changes run: | git add .
- name: commit changes run: | git commit -m "Formatting" --all | exit 0
# NOTE : only push changes when the source branch is being pushed to master (target branch) - name: push changes if: github.ref == 'refs/heads/master' run: | git push