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 #18

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
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.

91 changes: 91 additions & 0 deletions .github/workflows/build-ros2-ws-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
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/[email protected]
with:
path: atama

- name: Checkout Kansei Interfaces
uses: actions/[email protected]
with:
repository: ichiro-its/kansei_interfaces
path: kansei_interfaces

- name: Checkout Keisan
uses: actions/[email protected]
with:
repository: ichiro-its/keisan
path: keisan

- name: Checkout tachimawari
uses: actions/[email protected]
with:
repository: ichiro-its/tachimawari
path: tachimawari

- name: Checkout tachimawari interfaces
uses: actions/[email protected]
with:
repository: ichiro-its/tachimawari_interfaces
path: tachimawari_interfaces

- name: Checkout Ninshiki Interfaces
uses: actions/[email protected]
with:
repository: ichiro-its/ninshiki_interfaces
path: ninshiki_interfaces

- name: Checkout Shisen Interfaces
uses: actions/[email protected]
with:
repository: ichiro-its/shisen_interfaces
path: shisen_interfaces

- name: Checkout Atama Interfaces
uses: actions/[email protected]
with:
repository: ichiro-its/atama_interfaces
path: atama_interfaces

- name: Checkout Aruku Interfaces
uses: actions/[email protected]
with:
repository: ichiro-its/aruku_interfaces
path: aruku_interfaces

- name: Checkout Kansei
uses: actions/[email protected]
with:
repository: ichiro-its/kansei
path: kansei

- name: Checkout Aruku
uses: actions/[email protected]
with:
repository: ichiro-its/aruku
path: aruku

- name: Checkout Jitsuyo
uses: actions/[email protected]
with:
repository: ichiro-its/jitsuyo
path: jitsuyo
token: ${{ secrets.GH_TOKEN }}

- name: Setup workspace
uses: ichiro-its/ros2-ws-action/[email protected]

- name: Build workspace
uses: ichiro-its/ros2-ws-action/[email protected]

- name: Test workspace
uses: ichiro-its/ros2-ws-action/[email protected]
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