Skip to content

Commit 8fe2c8a

Browse files
committed
Workflows update
1 parent 868e36f commit 8fe2c8a

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/workflows/auto-pr.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Library generator
2+
on: [workflow_dispatch]
3+
jobs:
4+
5+
micro_ros_arduino_generate:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- name: Get date
10+
id: date
11+
run: echo "::set-output name=date::$(date +'%d-%m-%Y %H:%M')"
12+
- name: Update libraries
13+
run: |
14+
docker run --rm -v $(pwd):/arduino_project microros/micro_ros_arduino_builder:latest
15+
- name: Create Pull Request
16+
uses: peter-evans/create-pull-request@v3
17+
with:
18+
commit-message: update changelog
19+
title: micro-ROS Library auto-update ${{ steps.date.outputs.date }}
20+
body: This PR is autogenerated and updates the micro-ROS Arduino library. Close and reopen to trigger CI.
21+
branch: autoupdate_micro_ros_arduino
22+
base: foxy
23+

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI micro_ros_arduino
1+
name: CI
22

33
on:
44
pull_request:

0 commit comments

Comments
 (0)