Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from autowarefoundation:main #51

Open
wants to merge 138 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
5926b5a
chore(deps): bump actions/setup-python from 3 to 4 (#162)
dependabot[bot] Jun 9, 2022
ba750d8
feat(deploy-docs): add new input variable to select mkdocs-requiremen…
takam5f2 Jun 9, 2022
be9ce38
feat(deploy-docs): add mkdocs-static-i18n (#165)
kenji-miyake Jun 10, 2022
2e96e34
fix(deploy-docs): support i18n files (#166)
kenji-miyake Jun 10, 2022
5c484fc
fix(sync-files): run pre-commands before if-condition (#167)
kenji-miyake Jun 13, 2022
79fa160
ci(pre-commit): autoupdate (#168)
pre-commit-ci[bot] Jun 13, 2022
f289b48
ci(pre-commit): autoupdate (#169)
pre-commit-ci[bot] Jun 20, 2022
4f24ecd
feat(semantic-pull-request): disable validateSingleCommitMatchesPrTit…
kenji-miyake Jul 20, 2022
77ea904
ci(pre-commit): autoupdate (#170)
pre-commit-ci[bot] Jul 20, 2022
c5d4302
fix(clang-tidy): install libomp-dev to prevent clang-diagnostic-error…
kenji-miyake Aug 2, 2022
c11fbc9
feat(prevent-no-label-execution): use notice message (#173)
kenji-miyake Aug 23, 2022
33f12a8
feat: add an action 'update-codeowners-from-package' (#174)
kenji-miyake Aug 30, 2022
370c006
chore: fix typo (#177)
kenji-miyake Aug 30, 2022
f6693b5
feat(spell-check): support local dictionary (#176)
kenji-miyake Aug 31, 2022
bd16c65
ci(clang-tidy): support target files input (#178)
kenji-miyake Sep 1, 2022
c4ec95a
chore: sync files (#175)
awf-autoware-bot[bot] Sep 2, 2022
aa7a0dd
feat(spell-check): support installing dict packages (#180)
kenji-miyake Sep 13, 2022
acfda12
feat(semantic-pull-request): disable validateSingleCommit (#179)
kenji-miyake Sep 14, 2022
49510f5
fix(update-codeowners-from-packages): use "**" instead of "*" (#181)
kenji-miyake Sep 14, 2022
cf0afa6
chore: sync files (#182)
awf-autoware-bot[bot] Sep 21, 2022
365fab5
fix(update-codeowners-from-packages): sort the order of packages (#183)
kenji-miyake Sep 22, 2022
c3e0ce4
fix(update-codeowners-from-packages): sort maintainers and remove dup…
kenji-miyake Sep 26, 2022
ebc6112
feat(clang-tidy, colcon-build): make CMAKE_BUILD_TYPE optional (#185)
kenji-miyake Sep 28, 2022
e032ce3
fix(clang-tidy, colcon-build, colcon-test): add cmake-build-type to c…
kenji-miyake Sep 28, 2022
a9c8c60
chore(deps): bump amannn/action-semantic-pull-request from 4 to 5 (#187)
dependabot[bot] Oct 12, 2022
e1ade20
feat(check-file-existence): make condition optional (#191)
kenji-miyake Nov 6, 2022
ccb45a8
fix(clang-tidy): mark the workflow as failed if the fixes.yaml file e…
kenji-miyake Nov 6, 2022
81255c1
feat(spell-check): add incremental-files-only option (#193)
HansRobo Nov 10, 2022
853368c
chore: sync files (#189)
awf-autoware-bot[bot] Nov 10, 2022
242ab25
feat(update-codeowners-from-packages): support global codeowners (#194)
kenji-miyake Nov 17, 2022
764b105
feat: add a new action 'pre-commit-autoupdate' (#195)
kenji-miyake Nov 18, 2022
c24f190
feat: prevent a workflow from stopping when pre-commit fails (#197)
TomohitoAndo Nov 20, 2022
2a44b38
refactor(pre-commit): use actions instead of scripts (#198)
TomohitoAndo Dec 1, 2022
0dfed6f
ci(pre-commit): autoupdate (#171)
pre-commit-ci[bot] Dec 1, 2022
34e7703
chore: sync files (#196)
awf-autoware-bot[bot] Dec 1, 2022
32abc29
ci: update rosdistro to humble (#199)
kenji-miyake Dec 12, 2022
0f2dfb1
chore(cliff.toml): replace date_order with topo_order (#203)
kenji-miyake Dec 26, 2022
360038a
chore: sync files (#201)
awf-autoware-bot[bot] Dec 26, 2022
873f4d6
ci(pre-commit): autoupdate (#200)
pre-commit-ci[bot] Dec 26, 2022
1ae1a74
feat(deploy-docs): add mkdocs-video (#202)
xmfcx Jan 3, 2023
6d0a13d
feat: add set cuda path action (#205)
wep21 Feb 5, 2023
b57d10f
feat(spell-check): install autoware-spell-check-dict (#206)
kenji-miyake Feb 8, 2023
a7cc2c1
feat(clang-tidy, colcon-build, colcon-test): add include-eol-distros …
h-ohta Feb 28, 2023
90c06af
fix(deploy-docs, delete-closed-pr-docs): remove staled argument `--re…
takam5f2 Mar 6, 2023
cae33af
chore(deps): replace peter-evans/enable-pull-request-automerge with G…
dependabot[bot] Mar 26, 2023
66ce5ce
chore(deps): replace peter-evans/enable-pull-request-automerge with G…
dependabot[bot] Mar 26, 2023
158aa14
chore(deps): replace peter-evans/enable-pull-request-automerge with G…
dependabot[bot] Mar 26, 2023
2f87e8d
chore(deps): remove actions/setup-go in /pre-commit (#210)
dependabot[bot] Mar 26, 2023
7ea728b
chore: sync files (#211)
awf-autoware-bot[bot] Mar 26, 2023
fd6a4c2
ci(pre-commit): autoupdate (#204)
pre-commit-ci[bot] Mar 26, 2023
ac2a367
chore: update dependabot.yaml (#215)
kenji-miyake Mar 26, 2023
e7dbb32
chore(deps): replace peter-evans/enable-pull-request-automerge with G…
dependabot[bot] Mar 26, 2023
1d73a55
docs: remove peter-evans/enable-pull-request-automerge (#217)
kenji-miyake Mar 26, 2023
ae7fbd4
fix: fix incorrect option of GitHub CLI (#220)
kenji-miyake Mar 28, 2023
bd5affd
fix(sync-files): add missing condition (#221)
kenji-miyake Mar 28, 2023
578ef20
refactor: replace set-output with $GITHUB_OUTPUT (#218)
kenji-miyake Mar 28, 2023
c04fec7
fix(delete-closed-pr-docs): fix incorrect multiline output (#223)
kenji-miyake Mar 29, 2023
177b47d
fix(pre-commit): fix token input (#224)
kenji-miyake Mar 29, 2023
3bda2d3
chore: sync files (#225)
awf-autoware-bot[bot] Mar 30, 2023
f5cc4e7
chore: sync files (#226)
awf-autoware-bot[bot] Apr 5, 2023
995274f
chore(deps): bump peter-evans/create-pull-request from 4 to 5 in /syn…
dependabot[bot] Apr 5, 2023
b1fa601
chore(deps): bump peter-evans/create-pull-request from 4 to 5 in /syn…
dependabot[bot] Apr 5, 2023
642a0a2
chore(deps): bump peter-evans/create-pull-request from 4 to 5 in /upd…
dependabot[bot] Apr 5, 2023
febd1ba
chore(deps): bump peter-evans/create-pull-request from 4 to 5 in /pre…
dependabot[bot] Apr 5, 2023
fe83ad8
ci(pre-commit): autoupdate (#219)
pre-commit-ci[bot] Apr 5, 2023
469d5a9
chore(deps): bump peter-evans/create-or-update-comment from 2 to 3 in…
dependabot[bot] Apr 6, 2023
abf515b
feat(pre-commit): add base-branch for differential execution (#237)
isamu-takagi Jun 12, 2023
9912fa0
chore: sync files (#233)
awf-autoware-bot[bot] Jun 12, 2023
73d6852
ci(pre-commit): autoupdate (#234)
pre-commit-ci[bot] Jun 12, 2023
92ca968
feat(json-schema-check): add new action (#240)
ambroise-arm Jun 26, 2023
a409afe
fix(deploy_docs): fix markdown version (#242)
kminoda Jul 27, 2023
5cc39e1
fix(deploy_docs): fix mkdocs version (#244)
SakodaShintaro Jul 27, 2023
6ae19ba
feat(mkdocs): add tabulate to mkdocs-requirements.txt (#246)
mitsudome-r Aug 17, 2023
ab26bfd
fix(deploy-docs): fix version for mkdocs-awesome-pages-plugin (#248)
mitsudome-r Aug 24, 2023
781cd4e
feat(generate-chnagelog): add generate-changelog-json (#209)
shmpwk Aug 31, 2023
9ca3518
build: disable internet access during the build step (#241)
esteve Sep 20, 2023
d8a17ba
feat: set author to create-pull-request action (#256)
isamu-takagi Oct 4, 2023
f82317e
feat(generate-changelog): set version and token of setup-git-cliff (#…
shmpwk Oct 9, 2023
3067012
chore(deps): bump actions/checkout from 3 to 4 (#253)
dependabot[bot] Oct 20, 2023
5fb18c7
chore(deps): bump actions/checkout from 3 to 4 in /update-codeowners-…
dependabot[bot] Oct 20, 2023
6d64eec
chore(deps): bump actions/checkout from 3 to 4 in /sync-files (#250)
dependabot[bot] Oct 20, 2023
0b31bae
chore(deps): bump actions/checkout from 3 to 4 in /pre-commit-autoupd…
dependabot[bot] Oct 20, 2023
6ad62cf
chore(deps): bump actions/checkout from 3 to 4 in /sync-branches (#251)
dependabot[bot] Oct 20, 2023
39f85d6
ci(pre-commit): autoupdate (#239)
pre-commit-ci[bot] Dec 15, 2023
18f5ec7
chore(deps): bump actions/upload-artifact from 2 to 3 in /generate-ch…
dependabot[bot] Dec 15, 2023
785ab94
chore(deps): bump stefanzweifel/git-auto-commit-action from 4 to 5 in…
dependabot[bot] Dec 15, 2023
442717a
chore(deps): bump kenji-miyake/setup-sd from 1 to 2 in /sync-files (#…
dependabot[bot] Dec 15, 2023
729d919
chore(deps): bump tibdex/github-app-token from 1 to 2 (#260)
dependabot[bot] Dec 15, 2023
efae04a
chore(deps): bump actions/setup-python from 4 to 5 in /delete-closed-…
dependabot[bot] Dec 15, 2023
5bd706c
chore(deps): bump actions/setup-python from 4 to 5 in /deploy-docs (#…
dependabot[bot] Dec 15, 2023
1e0908d
chore(deps): bump streetsidesoftware/cspell-action from 2 to 5 in /sp…
dependabot[bot] Dec 15, 2023
2a0be8e
chore: sync files (#238)
awf-autoware-bot[bot] Dec 15, 2023
5f405e0
feat(sync-files): add source-dir option (#266)
isamu-takagi Dec 15, 2023
14e1100
ci(pre-commit): autoupdate (#271)
pre-commit-ci[bot] Jan 18, 2024
37402f8
chore(deps): bump actions/cache from 3 to 4 in /colcon-test (#273)
dependabot[bot] Jan 18, 2024
08f7f77
chore(deps): bump actions/cache from 3 to 4 in /colcon-build (#272)
dependabot[bot] Jan 18, 2024
f59d1e5
chore(deps): bump kenji-miyake/setup-git-cliff from 1 to 2 in /genera…
dependabot[bot] Jan 18, 2024
ed7e492
chore(deps): bump actions/upload-artifact from 3 to 4 in /clang-tidy …
dependabot[bot] Jan 18, 2024
beeecf2
chore(deps): bump actions/setup-python from 4 to 5 in /sync-files (#267)
dependabot[bot] Jan 18, 2024
5f373bf
chore: sync files (#270)
awf-autoware-bot[bot] Jan 18, 2024
fda06fe
feat(json-schema-check): allow for several schema files per package (…
ambroise-arm Jan 18, 2024
536af95
chore(deps): bump peter-evans/create-pull-request from 5 to 6 in /syn…
dependabot[bot] Feb 8, 2024
705a200
chore(deps): bump peter-evans/create-pull-request from 5 to 6 in /pre…
dependabot[bot] Feb 8, 2024
89c4533
chore(deps): bump peter-evans/create-pull-request from 5 to 6 in /syn…
dependabot[bot] Feb 8, 2024
48faad7
chore(deps): bump peter-evans/create-pull-request from 5 to 6 in /upd…
dependabot[bot] Feb 8, 2024
39f6110
ci(json-schema-check): improve readibility and output helpful debug i…
xmfcx Feb 21, 2024
6722873
chore(gitignore): add gitignore file (#286)
xmfcx Feb 26, 2024
d206ce6
fix(update-codeowners-from-packages): add manual CODEOWNERS after pac…
mitsudome-r Mar 1, 2024
8ce979e
docs(sync-files): add installation instructions (#287)
xmfcx Mar 6, 2024
4dd4d43
chore: sync files (#284)
awf-autoware-bot[bot] Apr 16, 2024
61bc6c5
ci(pre-commit): only work to already existing files (#291)
h-ohta Apr 16, 2024
3796c20
ci(json-schema-check): allow nested config paths (#294)
amadeuszsz May 24, 2024
ae7c8f6
chore(deps): bump streetsidesoftware/cspell-action from 5 to 6 in /sp…
dependabot[bot] Jun 7, 2024
bc0521b
chore(deps): bump pre-commit/action from 3.0.0 to 3.0.1 in /pre-commi…
dependabot[bot] Jun 7, 2024
c5edc60
chore(deps): bump peter-evans/create-or-update-comment from 3 to 4 in…
dependabot[bot] Jun 7, 2024
95e908b
chore(deps): bump actions/cache from 3 to 4 in /clang-tidy (#276)
dependabot[bot] Jun 7, 2024
4b2f3af
chore(deps): bump actions/upload-artifact from 3 to 4 in /generate-ch…
dependabot[bot] Jun 7, 2024
4d70d22
ci(pre-commit): autoupdate (#278)
pre-commit-ci[bot] Jun 7, 2024
3f59aa0
chore: sync files (#292)
awf-autoware-bot[bot] Jun 7, 2024
dcd51f2
feat(sync-files): allow multiple destinations and speed up clone (#295)
xmfcx Jun 7, 2024
a6f96e7
fix(sync-files): keep original source file intact (#297)
xmfcx Jun 10, 2024
45b31c5
chore(deps): bump peter-evans/find-comment from 2 to 3 in /deploy-doc…
dependabot[bot] Jun 10, 2024
9a6e0b7
feat(get-modified-packages): support retrieving diffs without fetchin…
xmfcx Jun 12, 2024
92b8188
feat(make-sure-label-is-present): new workflow (#301)
xmfcx Jun 13, 2024
6c71a4d
fix: caching strategies of colcon-build/test and clang-tidy (#304)
xmfcx Jun 27, 2024
0cd5a72
fix(colcon-test): remove label-regex filter (#305)
xmfcx Jun 27, 2024
a1960b0
fix(clang-tidy): make clang-tidy workflow fail only when it reports e…
veqcc Jul 1, 2024
b1b87c0
chore(colcon-test): ignore test directory in colcon lcov-result (#307)
yhisaki Aug 2, 2024
89245b3
feat(colcon-build): use nice command to not overuse resources (#308)
xmfcx Aug 20, 2024
0dbf0d4
feat(colcon-build): enable cpu resource control (#309)
xmfcx Aug 20, 2024
f95438f
refactor(colcon-build): nice-command to build-pre-command (#310)
xmfcx Aug 20, 2024
a173e01
fix(test-composite-actions): use newer ghcr image (#318)
sasakisasaki Sep 5, 2024
de662d6
fix(test-composite-actions): use `autoware:latest-universe-devel` (#319)
sasakisasaki Sep 5, 2024
cfeb08b
feat(create-prs-to-update-vcs-repositories): new github action (#317)
sasakisasaki Sep 10, 2024
77faadb
build(deploy-docs): add pathspec as dependency (#321)
xmfcx Sep 19, 2024
e1102ae
fix(create-prs-to-update-vcs-repositories): update only for versions …
sasakisasaki Oct 1, 2024
61dd531
feat: attach `git diff` in the PR description (#323)
sasakisasaki Oct 9, 2024
f135730
fix(github-runner): fix to use ubuntu-22.04 (#324)
sasakisasaki Oct 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/small-change.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

<!-- Write a brief description of this PR. -->

## Tests performed

<!-- Describe how you have tested this PR. -->
<!-- Although the default value is set to "Not Applicable.", please update this section if the type is either [feat, fix, perf], or if requested by the reviewers. -->

Not applicable.

## Effects on system behavior

<!-- Describe how this PR affects the system behavior. -->

Not applicable.

## Interface changes

<!-- Describe any changed interfaces, such as topics, services, or parameters, including debugging interfaces -->

## Pre-review checklist for the PR author

The PR author **must** check the checkboxes below when creating the PR.
Expand Down
23 changes: 22 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE/standard-change.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Related links

<!-- Write the links related to this PR. -->
<!-- Write the links related to this PR. Private links should be clearly marked as private, for example, '[FOO COMPANY INTERNAL LINK](https://example.com)'. -->

## Tests performed

Expand All @@ -14,6 +14,27 @@

<!-- Write additional information if necessary. It should be written if there are related PRs that should be merged at the same time. -->

## Interface changes

<!-- Describe any changed interfaces, such as topics, services, or parameters. -->

### ROS Topic Changes

<!-- | Topic Name | Type | Direction | Update Description | -->
<!-- | ---------------- | ------------------- | --------- | ------------------------------------------------------------- | -->
<!-- | `/example_topic` | `std_msgs/String` | Subscribe | Description of what the topic is used for in the system | -->
<!-- | `/another_topic` | `sensor_msgs/Image` | Publish | Also explain if it is added / modified / deleted with the PR | -->

### ROS Parameter Changes

<!-- | Parameter Name | Default Value | Update Description | -->
<!-- | -------------------- | ------------- | --------------------------------------------------- | -->
<!-- | `example_parameters` | `1.0` | Describe the parameter and also explain the updates | -->

## Effects on system behavior

<!-- Describe how this PR affects the system behavior. -->

## Pre-review checklist for the PR author

The PR author **must** check the checkboxes below when creating the PR.
Expand Down
27 changes: 27 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,15 @@ updates:
- bot
- github-actions

- package-ecosystem: github-actions
directory: /pre-commit-autoupdate
schedule:
interval: daily
open-pull-requests-limit: 1
labels:
- bot
- github-actions

- package-ecosystem: github-actions
directory: /register-autonomoustuff-repository
schedule:
Expand All @@ -117,6 +126,15 @@ updates:
- bot
- github-actions

- package-ecosystem: github-actions
directory: /set-cuda-path
schedule:
interval: daily
open-pull-requests-limit: 1
labels:
- bot
- github-actions

- package-ecosystem: github-actions
directory: /set-git-config
schedule:
Expand Down Expand Up @@ -152,3 +170,12 @@ updates:
labels:
- bot
- github-actions

- package-ecosystem: github-actions
directory: /update-codeowners-from-packages
schedule:
interval: daily
open-pull-requests-limit: 1
labels:
- bot
- github-actions
2 changes: 1 addition & 1 deletion .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
daysUntilClose: false

# Label to use when marking as stale
staleLabel: stale
staleLabel: status:stale

# Comment to post when marking as stale
markComment: >
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/actions-tagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ on:

jobs:
actions-tagger:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: Actions-R-Us/actions-tagger@v2
4 changes: 2 additions & 2 deletions .github/workflows/check-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ on:

jobs:
check-secret:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
set: ${{ steps.check-secret.outputs.set }}
steps:
- name: Check if secret is set
id: check-secret
run: |
if [ "${{ secrets.secret }}" != "" ]; then
echo ::set-output name=set::true
echo "set=true" >> $GITHUB_OUTPUT
fi
shell: bash

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/github-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
github-release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Set tag name
id: set-tag-name
Expand All @@ -26,11 +26,11 @@ jobs:
REF_NAME="${{ github.ref_name }}"
fi

echo ::set-output name=ref-name::"$REF_NAME"
echo ::set-output name=tag-name::"${REF_NAME#beta/}"
echo "ref-name=$REF_NAME" >> $GITHUB_OUTPUT
echo "tag-name=${REF_NAME#beta/}" >> $GITHUB_OUTPUT

- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ steps.set-tag-name.outputs.ref-name }}
Expand All @@ -39,7 +39,7 @@ jobs:
id: set-target-name
run: |
if [[ "${{ steps.set-tag-name.outputs.ref-name }}" =~ "beta/" ]]; then
echo ::set-output name=target-name::"${{ steps.set-tag-name.outputs.ref-name }}"
echo "target-name=${{ steps.set-tag-name.outputs.ref-name }}" >> $GITHUB_OUTPUT
fi

- name: Create a local tag for beta branches
Expand All @@ -62,7 +62,7 @@ jobs:
verb=edit
fi

echo ::set-output name=verb::"$verb"
echo "verb=$verb" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/make-sure-label-is-present.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: make-sure-label-is-present

on:
workflow_call:
inputs:
label:
required: true
type: string
outputs:
result:
value: ${{ jobs.make-sure-label-is-present.outputs.result }}

jobs:
make-sure-label-is-present:
runs-on: ubuntu-22.04
outputs:
result: ${{ steps.make-sure-label-is-present.outputs.result }}
steps:
- name: Check if label is present
id: make-sure-label-is-present
if: contains(github.event.pull_request.labels.*.name, inputs.label)
run: |
echo "result=true" >> $GITHUB_OUTPUT
shell: bash

- name: Skip if label is not present
if: steps.make-sure-label-is-present.outputs.result != 'true'
run: |
echo "Please add the label '${{ inputs.label }}' to run this workflow."
echo "result=false" >> $GITHUB_OUTPUT
shell: bash
7 changes: 5 additions & 2 deletions .github/workflows/pre-commit-optional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ on:

jobs:
pre-commit-optional:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Run pre-commit
uses: autowarefoundation/autoware-github-actions/pre-commit@v1
with:
pre-commit-config: .pre-commit-config-optional.yaml
base-branch: origin/${{ github.base_ref }}
13 changes: 4 additions & 9 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,21 @@ on:

jobs:
pre-commit:
if: ${{ github.event.repository.private }}
runs-on: ubuntu-latest
if: ${{ github.event.repository.private }} # Use pre-commit.ci for public repositories
runs-on: ubuntu-22.04
steps:
- name: Generate token
id: generate-token
uses: tibdex/github-app-token@v1
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}

- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Set git config
uses: autowarefoundation/autoware-github-actions/set-git-config@v1
with:
token: ${{ steps.generate-token.outputs.token }}

- name: Run pre-commit
uses: autowarefoundation/autoware-github-actions/pre-commit@v1
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prevent-no-label-execution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
prevent-no-label-execution:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
run: ${{ steps.prevent-no-label-execution.outputs.run }}
steps:
Expand Down Expand Up @@ -46,10 +46,10 @@ jobs:
return
}

echo ::set-output name=run::"$(check)"
echo "run=$(check)" >> $GITHUB_OUTPUT
shell: bash

- name: Show result
run: |
echo "run: ${{ steps.prevent-no-label-execution.outputs.run }}"
echo "::notice:: ${{ steps.prevent-no-label-execution.outputs.run }}"
shell: bash
6 changes: 2 additions & 4 deletions .github/workflows/semantic-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ on:

jobs:
semantic-pull-request:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Validate PR title
uses: amannn/action-semantic-pull-request@v4
uses: amannn/action-semantic-pull-request@v5
with:
# Comply with https://github.com/commitizen/conventional-commit-types/blob/c3a9be4c73e47f2e8197de775f41d981701407fb/index.json
types: |
Expand All @@ -29,8 +29,6 @@ jobs:
chore
revert
subjectPattern: ^(?![A-Z]).+$
validateSingleCommit: true
validateSingleCommitMatchesPrTitle: true
ignoreLabels: |
bot
ignore-semantic-pull-request
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/spell-check-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:

jobs:
spell-check-differential:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run spell-check
uses: autowarefoundation/autoware-github-actions/spell-check@v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sync-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
sync-files:
needs: check-secret
if: ${{ needs.check-secret.outputs.set == 'true' }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Generate token
id: generate-token
uses: tibdex/github-app-token@v1
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
Expand All @@ -28,6 +28,6 @@ jobs:
with:
token: ${{ steps.generate-token.outputs.token }}
pr-labels: |
bot
sync-files
tag:bot
tag:sync-files
auto-merge-method: squash
Loading