Skip to content

Commit b3035e6

Browse files
authored
Update Go to 1.24.6 (#89)
1 parent a888cfd commit b3035e6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/version-bump-check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
changed_file="$(git diff ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} ${{ env.file }})"
2424
2525
if [ -z "$changed_file" ]; then
26-
exit 1
26+
echo "no_changes=true" >> $GITHUB_OUTPUT
2727
else
2828
added_match=$(echo "$changed_file" | grep -E '^\+${{ env.regex }}' || true)
2929
removed_match=$(echo "$changed_file" | grep -E '^\-${{ env.regex }}' || true)
3030
3131
if [[ -z "$added_match" ]] && [[ -z "$removed_match" ]]; then
32-
exit 1
32+
echo "no_changes=true" >> $GITHUB_OUTPUT
3333
fi
3434
3535
if [[ -n "$added_match" ]]; then
@@ -45,7 +45,7 @@ jobs:
4545
fi
4646
fi
4747
48-
- if: success()
48+
- if: ${{ steps.changes.outputs.no_changes != 'true' }}
4949
name: Found Change Comment
5050
uses: thollander/actions-comment-pull-request@v3
5151
with:
@@ -58,7 +58,7 @@ jobs:
5858
${{ steps.changes.outputs.added_match }}
5959
```
6060
61-
- if: failure()
61+
- if: ${{ steps.changes.outputs.no_changes == 'true' }}
6262
name: Missing Change Comment
6363
uses: thollander/actions-comment-pull-request@v3
6464
with:

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
golang 1.24.0
1+
golang 1.24.6

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/emmahsax/go-git-helper
22

3-
go 1.24.0
3+
go 1.24
44

55
require (
66
github.com/google/go-github/v69 v69.1.0

0 commit comments

Comments
 (0)