Skip to content

chore(deps): update actions/checkout action to v4.2.2 #561

chore(deps): update actions/checkout action to v4.2.2

chore(deps): update actions/checkout action to v4.2.2 #561

Workflow file for this run

---
name: format
on:
pull_request:
types:
- opened
- synchronize
- reopened
- closed
merge_group:
permissions: read-all
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
if: github.event_name != 'pull_request' || github.event.action != 'closed'
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- if: github.event_name != 'pull_request' || github.event.action != 'closed'
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: stable
- if: github.event_name != 'pull_request' || github.event.action != 'closed'
run: go mod tidy
- uses: dev-hato/actions-diff-pr-management@e5c78b251a69f44f93b2f1398e06b129bcf151ec # v1.2.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
branch-name-prefix: format
pr-title-prefix: Format修正
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true