Skip to content

Commit

Permalink
github: Add automatic rosdistro update
Browse files Browse the repository at this point in the history
  • Loading branch information
wentasah committed Sep 18, 2024
1 parent fa777c4 commit efcac90
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Update rosdistro
on:
schedule:
- cron: "0 12 * * FRI"
workflow_dispatch:
pull_request:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- name: Configure git
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Update rosdistro
run: nix flake update rosdistro --commit-lock-file
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
branch: rosdistro-updates
base: main
delete-branch: true
title: 'Rosdistro update'

0 comments on commit efcac90

Please sign in to comment.