-
Notifications
You must be signed in to change notification settings - Fork 86
31 lines (31 loc) · 975 Bytes
/
update-colcon.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Update colcon packages
on:
schedule:
- cron: "0 12 * * FRI"
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
name: ros
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Configure git
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Update colcon
run: maintainers/scripts/update-colcon.sh --build --commit
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
branch: colcon-updates
delete-branch: true
title: 'Colcon updates'
body: |
Automated changes by `maintainers/scripts/update-colcon.sh`