Skip to content

Commit

Permalink
configure workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Masaya Kataoka <[email protected]>
  • Loading branch information
hakuturu583 committed Feb 8, 2024
1 parent 22a664d commit e8ddb42
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 88 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/BuildAndRun.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: BuildAndRun
name: Build and run

on:
workflow_dispatch:
Expand All @@ -19,7 +19,7 @@ on:
- master
jobs:
job1:
name: BuildAndRun
name: Build and run
runs-on: ubuntu-22.04
timeout-minutes: 180
container: ros:${{ matrix.rosdistro }}
Expand All @@ -30,7 +30,7 @@ jobs:
matrix:
rosdistro: [humble]
steps:
- name: suppress warnings
- name: Suppress warnings
run: |
git config --global --add safe.directory '*'
Expand Down
44 changes: 0 additions & 44 deletions .github/workflows/CheckAndCommentAction.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/CheckBranchUpToDate.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CheckBranchUpToDate
name: Check branch up to date
on:
pull_request:
branches:
Expand All @@ -8,7 +8,7 @@ on:

jobs:
check_branch_up_to_date:
name: CheckBranchUpToDate
name: Check branch up to date
timeout-minutes: 10
runs-on: ubuntu-22.04
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CheckLabel.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CheckLabel
name: Check label
on:
pull_request:
branches:
Expand All @@ -12,7 +12,7 @@ on:

jobs:
check_label:
name: Check Label
name: Check label
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
types: [published]
jobs:
job1:
name: Build Docker Image
name: Build Docker image
runs-on: ubuntu-20.04
timeout-minutes: 180
strategy:
Expand All @@ -28,7 +28,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup Docker Buildx
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v2

- name: Login to GitHub Container Registry
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
generate:
name: Generate Documentation
name: Generate documentation
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2-beta
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/DocumentationLinkCheck.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: DocumentationLinkCheck
name: Documentation link check

on:
repository_dispatch:
Expand All @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Link Checker
- name: Checke documentation link
id: lychee
uses: lycheeverse/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/InterfaceUpdateNotification.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: InterfaceUpdateNotification
name: Interface update notification
on:
pull_request:
branches:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/LineLint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: LineLint
name: Line lint
on:
workflow_dispatch:
push:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/PostCheckList.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PostCheckList
name: Post check list
on:
pull_request:
branches:
Expand All @@ -7,7 +7,7 @@ on:

jobs:
post_check_list:
name: PostCheckList
name: Post check list
timeout-minutes: 10
runs-on: ubuntu-22.04
permissions:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/Release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,19 @@ jobs:
echo "old_version=$(catkin_package_version)" >> $GITHUB_OUTPUT
- name: Merge branch
run: git pull origin ${{ github.head_ref }}
- name: bump patch version
- name: Bump patch version
if: (contains(github.event.pull_request.labels.*.name, 'bump patch'))
run: |
catkin_generate_changelog -y
catkin_tag_changelog --bump patch
catkin_package_version --bump patch
- name: bump minor version
- name: Bump minor version
if: (contains(github.event.pull_request.labels.*.name, 'bump minor'))
run: |
catkin_generate_changelog -y
catkin_tag_changelog --bump minor
catkin_package_version --bump minor
- name: bump major version
- name: Bump major version
if: (contains(github.event.pull_request.labels.*.name, 'bump major'))
run: |
catkin_generate_changelog -y
Expand All @@ -77,7 +77,7 @@ jobs:
id: new_version
run: |
echo "new_version=$(catkin_package_version)" >> $GITHUB_OUTPUT
- name: commit changes
- name: Commit changes
if: github.event.pull_request.merged == true
run: |
git add .
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
uses: mathiasvr/[email protected]
with:
run: cat release_description.txt
- name: Create a gitHub release
- name: Create a GitHub release
if: github.event.pull_request.merged == true
uses: ncipollo/release-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/SimModelUpdateNotification.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: SimModelUpdateNotification
name: Simulation Model Update Notification
on:
pull_request:
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/SpellCheck.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: SpellCheck
name: Spell check

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/SpellCheckAll.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: SpellCheckAll
name: Spell check all

on:
workflow_dispatch:
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/SyncReleaseNote.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ToolDispatch.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ToolDispatch
name: Tool dispatch
on:
pull_request:
types: [labeled]
Expand Down

0 comments on commit e8ddb42

Please sign in to comment.