Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

holy fuck i forgot something #17

holy fuck i forgot something

holy fuck i forgot something #17

Workflow file for this run

name: Format
on: push
jobs:
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 [email protected]
- 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