Skip to content

chore(deps): update github/codeql-action action to v4.34.1 (#245) #820

chore(deps): update github/codeql-action action to v4.34.1 (#245)

chore(deps): update github/codeql-action action to v4.34.1 (#245) #820

Workflow file for this run

---
name: format
on:
pull_request:
types:
- opened
- synchronize
- reopened
- closed
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
format:
runs-on: ubuntu-latest
env:
SAFE_CHAIN_MINIMUM_PACKAGE_AGE_HOURS: 168 # 7 days
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha || github.sha }}
persist-credentials: false
- uses: ./
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
if: github.event_name != 'pull_request' || github.event.action != 'closed'
with:
bun-version-file: .bun-version
- name: Install
if: github.event_name != 'pull_request' || github.event.action != 'closed'
run: |
curl -fsSL https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.sh | sh -s -- --ci
bun install
- run: bun run build
if: github.event_name != 'pull_request' || github.event.action != 'closed'
- uses: dev-hato/actions-diff-pr-management@5cd3792bc98beed11cda90898bc81af6bfa199af # v2.2.5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
branch-name-prefix: fix-format
pr-title-prefix: Fix format
pr-description-prefix: CI fixed format.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true