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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
23 changes: 0 additions & 23 deletions .github/workflows/build-and-test-nightly.yml

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/build-ros2-ws-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
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: ninshiki_cpp

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

- name: Checkout Dependencies
run: |
git clone https://github.com/ichiro-its/shisen_interfaces.git
git clone https://github.com/ichiro-its/ninshiki_interfaces.git
git clone https://github.com/ichiro-its/shisen_cpp.git
git clone https://github.com/ichiro-its/keisan.git

- 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