Skip to content

Commit 489a59d

Browse files
github-actionsgithub-actions[bot]
github-actions
authored andcommitted
chore: sync files
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 2924e57 commit 489a59d

5 files changed

+19
-27
lines changed

.github/workflows/build-and-test-differential.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171

7272
- name: Upload coverage to CodeCov
7373
if: ${{ steps.test.outputs.coverage-report-files != '' }}
74-
uses: codecov/codecov-action@v4
74+
uses: codecov/codecov-action@v5
7575
with:
7676
files: ${{ steps.test.outputs.coverage-report-files }}
7777
fail_ci_if_error: false

.github/workflows/build-and-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959

6060
- name: Upload coverage to CodeCov
6161
if: ${{ steps.test.outputs.coverage-report-files != '' }}
62-
uses: codecov/codecov-action@v4
62+
uses: codecov/codecov-action@v5
6363
with:
6464
files: ${{ steps.test.outputs.coverage-report-files }}
6565
fail_ci_if_error: false

.github/workflows/github-release.yaml

+8-23
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ name: github-release
66

77
on:
88
push:
9-
branches:
10-
- beta/v*
119
tags:
12-
- v*
10+
- "[0-9]+.[0-9]+.[0-9]+"
1311
workflow_dispatch:
1412
inputs:
15-
beta-branch-or-tag-name:
16-
description: The name of the beta branch or tag to release
13+
tag-name:
14+
description: The name of the tag to release
1715
type: string
1816
required: true
1917

@@ -25,36 +23,24 @@ jobs:
2523
id: set-tag-name
2624
run: |
2725
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
28-
REF_NAME="${{ github.event.inputs.beta-branch-or-tag-name }}"
26+
REF_NAME="${{ github.event.inputs.tag-name }}"
2927
else
3028
REF_NAME="${{ github.ref_name }}"
3129
fi
3230
33-
echo "ref-name=$REF_NAME" >> $GITHUB_OUTPUT
34-
echo "tag-name=${REF_NAME#beta/}" >> $GITHUB_OUTPUT
31+
echo "tag-name=$REF_NAME" >> $GITHUB_OUTPUT
3532
3633
- name: Check out repository
3734
uses: actions/checkout@v4
3835
with:
3936
fetch-depth: 0
40-
ref: ${{ steps.set-tag-name.outputs.ref-name }}
41-
42-
- name: Set target name for beta branches
43-
id: set-target-name
44-
run: |
45-
if [[ "${{ steps.set-tag-name.outputs.ref-name }}" =~ "beta/" ]]; then
46-
echo "target-name=${{ steps.set-tag-name.outputs.ref-name }}" >> $GITHUB_OUTPUT
47-
fi
48-
49-
- name: Create a local tag for beta branches
50-
run: |
51-
if [ "${{ steps.set-target-name.outputs.target-name }}" != "" ]; then
52-
git tag "${{ steps.set-tag-name.outputs.tag-name }}"
53-
fi
37+
ref: ${{ steps.set-tag-name.outputs.tag-name }}
5438

5539
- name: Run generate-changelog
5640
id: generate-changelog
5741
uses: autowarefoundation/autoware-github-actions/generate-changelog@v1
42+
with:
43+
git-cliff-args: --tag-pattern "^(\d+)\.(\d+)\.(\d+)$" --latest
5844

5945
- name: Select verb
6046
id: select-verb
@@ -74,7 +60,6 @@ jobs:
7460
run: |
7561
gh release ${{ steps.select-verb.outputs.verb }} "${{ steps.set-tag-name.outputs.tag-name }}" \
7662
--draft \
77-
--target "${{ steps.set-target-name.outputs.target-name }}" \
7863
--title "Release ${{ steps.set-tag-name.outputs.tag-name }}" \
7964
--notes "$NOTES"
8065
env:

.pre-commit-config-optional.yaml

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,16 @@
22
# https://github.com/autowarefoundation/sync-file-templates
33
# To make changes, update the source repository and follow the guidelines in its README.
44

5+
# https://pre-commit.ci/#configuration
6+
ci:
7+
autofix_commit_msg: "style(pre-commit-optional): autofix"
8+
# we already have our own daily update mechanism, we set this to quarterly
9+
autoupdate_schedule: quarterly
10+
autoupdate_commit_msg: "ci(pre-commit-optional): quarterly autoupdate"
11+
512
repos:
613
- repo: https://github.com/tcort/markdown-link-check
7-
rev: v3.13.6
14+
rev: v3.12.2
815
hooks:
916
- id: markdown-link-check
1017
args: [--quiet, --config=.markdown-link-check.json]

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ repos:
7474
args: [--line-length=100]
7575

7676
- repo: https://github.com/pre-commit/mirrors-clang-format
77-
rev: v19.1.4
77+
rev: v19.1.5
7878
hooks:
7979
- id: clang-format
8080
types_or: [c++, c, cuda]

0 commit comments

Comments
 (0)