Skip to content

Upload reports on failure (#459) #132

Upload reports on failure (#459)

Upload reports on failure (#459) #132

Workflow file for this run

# A Workflow for bootstrapping repos created from this template.
name: Bootstrap
on:
push:
branches: [ main ]
permissions:
contents: read
jobs:
boostrap:
if: ${{ github.run_number == 1 }}
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install zsh
run: sudo apt install zsh
- name: Run script
shell: zsh {0}
run: ./.creek/bootstrap.sh "${{ github.repository }}" "${{ github.repository_owner }}"
- name: Format code
run: ./gradlew format
- name: Commit changes
run: |
git config --global user.email "[email protected]"
git config --global user.name "Creek Bot"
git add -A
git status
git commit -m "Bootstrap repo"
git push