Skip to content

Commit dec94cc

Browse files
tier4-autoware-public-bot[bot]github-actions
and
github-actions
authored
chore: sync files (#1911)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com>
1 parent 1be9d51 commit dec94cc

8 files changed

+25
-29
lines changed

.github/workflows/clang-tidy-pr-comments-manually.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-22.04
1616
steps:
1717
- name: Check out repository
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Download analysis results
2121
run: |
@@ -40,7 +40,7 @@ jobs:
4040
4141
- name: Check out PR head
4242
if: ${{ steps.check-fixes-yaml-existence.outputs.exists == 'true' }}
43-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
4444
with:
4545
repository: ${{ steps.set-variables.outputs.pr-head-repo }}
4646
ref: ${{ steps.set-variables.outputs.pr-head-ref }}

.github/workflows/clang-tidy-pr-comments.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-22.04
1818
steps:
1919
- name: Check out repository
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- name: Download analysis results
2323
run: |
@@ -41,7 +41,7 @@ jobs:
4141
4242
- name: Check out PR head
4343
if: ${{ steps.check-fixes-yaml-existence.outputs.exists == 'true' }}
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v4
4545
with:
4646
repository: ${{ steps.set-variables.outputs.pr-head-repo }}
4747
ref: ${{ steps.set-variables.outputs.pr-head-ref }}

.github/workflows/comment-on-pr.yaml

+16-18
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,27 @@
33
# To make changes, update the source repository and follow the guidelines in its README.
44

55
name: comment-on-pr
6-
76
on:
8-
pull_request:
9-
types:
10-
- opened
11-
branches:
12-
- beta/v0.[0-9]+.[1-9]+
7+
pull_request_target:
138

149
jobs:
1510
comment-on-pr:
1611
runs-on: ubuntu-22.04
1712
permissions:
1813
pull-requests: write
1914
steps:
20-
- name: Create comments
21-
run: |
22-
cat << EOF > comments
23-
### Merging guidelines for the beta branch
24-
Please use `Squash and merge` as the default.
25-
However, when incorporating multiple changes with cherry-pick, use a `Create a merge commit` to preserve the changes in the history.
26-
EOF
27-
- name: Post comments
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30-
URL: ${{ github.event.pull_request.html_url }}
31-
run: gh pr comment -F ./comments "${URL}"
15+
- name: Check out repository
16+
uses: actions/checkout@v4
17+
18+
- name: Initial PR comment
19+
uses: marocchino/sticky-pull-request-comment@v2
20+
with:
21+
message: |
22+
Thank you for contributing to the Autoware project!
23+
24+
🚧 If your pull request is in progress, [switch it to draft mode](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#converting-a-pull-request-to-a-draft).
25+
26+
Please ensure:
27+
- You've checked our [contribution guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/).
28+
- Your PR follows our [pull request guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/).
29+
- All required CI checks pass before [marking the PR ready for review](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#marking-a-pull-request-as-ready-for-review).

.github/workflows/delete-closed-pr-docs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-22.04
1515
steps:
1616
- name: Check out repository
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
2020

.github/workflows/deploy-docs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-22.04
3535
steps:
3636
- name: Check out repository
37-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
3838
with:
3939
fetch-depth: 0
4040
ref: ${{ github.event.pull_request.head.sha }}

.pre-commit-config-optional.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ci:
1111

1212
repos:
1313
- repo: https://github.com/tcort/markdown-link-check
14-
rev: v3.13.6
14+
rev: v3.12.2
1515
hooks:
1616
- id: markdown-link-check
1717
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.5
77+
rev: v19.1.6
7878
hooks:
7979
- id: clang-format
8080
types_or: [c++, c, cuda]

mkdocs.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ plugins:
6363
module_name: mkdocs_macros
6464
- mkdocs-video
6565
- same-dir
66-
# https://squidfunk.github.io/mkdocs-material/plugins/search/#config.separator
67-
- search:
68-
separator: '[\s\-_,:!=\[\]()"/]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;'
66+
- search
6967

7068
markdown_extensions:
7169
- abbr

0 commit comments

Comments
 (0)