Skip to content

Merge pull request #3 from Clubs-Council-IIITH/merge_recent_events #9

Merge pull request #3 from Clubs-Council-IIITH/merge_recent_events

Merge pull request #3 from Clubs-Council-IIITH/merge_recent_events #9

Workflow file for this run

name: Auto Formatting
on:
push:
branches:
- master
jobs:
formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Prettier
run: |
npm install --global prettier
- name: Format with Prettier
run: prettier --write "**/*.{js,jsx,md,mdx,css,yaml}"
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply Prettier Formatting Fixes
# - name: Remove Formatting Branch
# run: |
# if git rev-parse --verify formatting >/dev/null 2>&1; then
# git push origin --delete formatting
# fi