This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
fix err 500 if gender denied #161
This file contains 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: Format | |
on: push | |
jobs: | |
build: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- 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 | |
- name: Push Commits | |
run: git push |