Skip to content

Commit c5ad772

Browse files
committed
Update CHANGELOG
Format workflow file
1 parent 1b6c85c commit c5ad772

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

.github/workflows/pre-commit.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,30 @@ on:
44
branches:
55
- "main"
66
pull_request:
7-
7+
88
jobs:
99
PreCommit:
1010
permissions:
11-
contents: "write"
11+
contents: "write"
1212
runs-on: "macos-latest"
1313
steps:
1414
- uses: "actions/checkout@v6"
1515
with:
16-
ref: ${{ github.head_ref }}
16+
ref: ${{ github.head_ref }}
1717
- name: "Install Dependencies"
1818
run: "brew bundle"
1919
- name: "Run Pre-Commit"
2020
id: "run-pre-commit"
2121
run: |
22-
EXIT_CODE=0
23-
pre-commit run --all --color=always --show-diff-on-failure || EXIT_CODE=$?
24-
if [[ $EXIT_CODE -ne 0 ]]; then
25-
echo "SHOULD_COMMIT=true" >> "$GITHUB_OUTPUT"
26-
else
27-
echo "SHOULD_COMMIT=false" >> "$GITHUB_OUTPUT"
28-
fi;
22+
EXIT_CODE=0
23+
pre-commit run --all --color=always --show-diff-on-failure || EXIT_CODE=$?
24+
if [[ $EXIT_CODE -ne 0 ]]; then
25+
echo "SHOULD_COMMIT=true" >> "$GITHUB_OUTPUT"
26+
else
27+
echo "SHOULD_COMMIT=false" >> "$GITHUB_OUTPUT"
28+
fi;
2929
- uses: stefanzweifel/git-auto-commit-action@v7
3030
if: contains(steps.run-pre-commit.outputs.SHOULD_COMMIT, 'true')
3131
with:
32-
commit_message: "Run pre-commit hooks."
33-
file_pattern: ". :(exclude).github/workflows/*"
34-
32+
commit_message: "Run pre-commit hooks."
33+
file_pattern: ". :(exclude).github/workflows/*"

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.4.2](https://github.com/LebJe/toml.lua/releases/tag/0.4.2) - 2024-12-26
9+
10+
### Changed
11+
12+
- Updated to sol2 v3.5.0.
13+
814
## [0.4.1](https://github.com/LebJe/toml.lua/releases/tag/0.4.1) - 2024-11-19
915

1016
### Fixed

0 commit comments

Comments
 (0)