Build(deps): Bump julia-actions/setup-julia from 1.9.6 to 2.2.0 (#38) #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Format Fix | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
concurrency: | |
# Skip intermediate builds: all builds except for builds on the `main` branch | |
# Cancel intermediate builds: only pull request builds | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/main' || github.run_number }} | |
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
fix: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
persist-credentials: false | |
- uses: julia-actions/setup-julia@3645a07f58c7f83b9f82ac8e0bb95583e69149e6 # v2.2.0 | |
with: | |
version: '1' | |
- run: make format-fix | |
- name: Create pull request | |
id: create_pr | |
uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
commit-message: '🤖 Automatically format the source code files' | |
title: '🤖 Automatically format the source code files' | |
body: |- | |
This pull request formats the source code files using the JuliaFormatter package. | |
Note: CI will not automatically run on this PR. Please open and close this PR to trigger CI. | |
branch: bot/format/${{ github.ref }} | |
delete-branch: true |