Skip to content

Merge branch 'main' into access-codes-unmanaged-delete #87

Merge branch 'main' into access-codes-unmanaged-delete

Merge branch 'main' into access-codes-unmanaged-delete #87

Workflow file for this run

---
name: format
on:
push:
branches-ignore:
- main
workflow_dispatch: {}
repository_dispatch:
types:
- format
jobs:
fix:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_TOKEN }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v5
with:
git_user_signingkey: true
git_commit_gpgsign: true
git_committer_name: ${{ secrets.GIT_USER_NAME }}
git_committer_email: ${{ secrets.GIT_USER_EMAIL }}
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Setup
uses: ./.github/actions/setup
- name: Format
run: bundle exec rake format
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Run format
commit_user_name: ${{ secrets.GIT_USER_NAME }}
commit_user_email: ${{ secrets.GIT_USER_EMAIL }}
commit_author: ${{ secrets.GIT_USER_NAME }} <${{ secrets.GIT_USER_EMAIL }}>