Merge pull request #68 from linorobot/mergify/bp/galactic/pr-66 #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ROS Galactic Firmware Build | |
on: | |
pull_request: | |
# Run on PRs only to branches starting with 'galactic' | |
branches: | |
- galactic* | |
# Don't run when the following files are changed which don't effect firmware. | |
paths-ignore: | |
- 'docs/**' | |
- .gitignore | |
- LICENSE | |
- README.md | |
push: | |
# Run on pushes only to branches starting with 'galactic' | |
branches: | |
- galactic* | |
# Don't run when the following files are changed which don't effect firmware. | |
paths-ignore: | |
- 'docs/**' | |
- .gitignore | |
- LICENSE | |
- README.md | |
# Run daily at midnight to detect flakiness and broken dependencies | |
schedule: | |
- cron: '0 0 * * *' | |
# Allow manual triggering | |
workflow_dispatch: | |
jobs: | |
firmware: | |
# The current file calls the firmware workflow with the following parameters | |
uses: ./.github/workflows/reusable-platformio-ci.yml | |
with: | |
ros_distro: galactic | |
# The reference field will be set to 'galactic' only if the event that triggered the workflow is schedule. Otherwise, it will be left blank. | |
reference: ${{ github.event_name == 'schedule' && 'galactic' || '' }} |