Skip to content

feat: new slotmap implementation #34

feat: new slotmap implementation

feat: new slotmap implementation #34

Workflow file for this run

name: Auto Format
on:
push:
branches: "main"
pull_request:
branches: "main"
workflow_dispatch:
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: format
run: ./scripts/format.sh
- name: git status
run: git status
- name: check modifications
id: git-check
run: echo "modified=$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)" >> $GITHUB_OUTPUT
- name: commit
if: steps.git-check.outputs.modified == 'true'
run: |
git config user.name "Roboar Formatter"
git config user.email "[email protected]"
git add src
git commit -m "Auto: Format script"
git push origin main