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

[Sprint 22 / PD-401] [Enhancement] Update Github Workflows #34

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
24 changes: 0 additions & 24 deletions .github/workflows/build-and-test-nightly.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/build-and-test-stable.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/build-debian-nightly.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/build-debian-stable.yml

This file was deleted.

55 changes: 55 additions & 0 deletions .github/workflows/build-ros2-ws-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: ros2-ws-action
on:
workflow_dispatch:
pull_request:
push:
branches: [master]
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
with:
path: kansei

- name: Checkout Kansei Interfaces
uses: actions/checkout@v4.1.1
with:
repository: ichiro-its/kansei_interfaces
path: kansei_interfaces

- name: Checkout Keisan
uses: actions/checkout@v4.1.1
with:
repository: ichiro-its/keisan
path: keisan

- name: Checkout tachimawari
uses: actions/checkout@v4.1.1
with:
repository: ichiro-its/tachimawari
path: tachimawari

- name: Checkout tachimawari interfaces
uses: actions/checkout@v4.1.1
with:
repository: ichiro-its/tachimawari_interfaces
path: tachimawari_interfaces

- name: Checkout Jitsuyo
uses: actions/checkout@v4.1.1
with:
repository: ichiro-its/jitsuyo
path: jitsuyo
token: ${{ secrets.GH_TOKEN }}

- name: Setup workspace
uses: ichiro-its/ros2-ws-action/setup@v1.0.1

- name: Build workspace
uses: ichiro-its/ros2-ws-action/build@v1.0.1

- name: Test workspace
uses: ichiro-its/ros2-ws-action/test@v1.0.1
20 changes: 20 additions & 0 deletions .github/workflows/dispatch-discord-pr-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Dispatch Discord PR Bot

on:
pull_request:
types: [opened, closed, reopened]
workflow_dispatch:

jobs:
dispatch-discord-pr-bot:
runs-on: ubuntu-latest
steps:
- uses: peter-evans/repository-dispatch@v3
with:
repository: ichiro-its/${{ vars.DISCORD_PR_BOT_REPO }}
event-type: pull_request
client-payload: |
{
"repository": "${{ github.event.repository.name }}",
"pr_type": "${{ github.event.action || 'opened' }}"
}
Loading