Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

chore(deps): update docker/login-action digest to 184bdaa #8728

chore(deps): update docker/login-action digest to 184bdaa

chore(deps): update docker/login-action digest to 184bdaa #8728

Workflow file for this run

on:
pull_request:
name: Auto-format Pull Request
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.FTL_AUTOFMT_TOKEN }}
- name: Init Hermit
run: ./bin/hermit env -r >> "$GITHUB_ENV"
- name: Auto format
run: autofmt
- name: Check for modified files
id: git-check
run: echo "modified=$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)" >> "$GITHUB_OUTPUT"
- name: Push changes
env:
HEAD: ${{ github.head_ref }}
if: steps.git-check.outputs.modified == 'true'
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git commit -am "chore(autofmt): Automated formatting"
git push origin "$HEAD"