Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Default owners for all files
* @mikelangmayr @scizen9 @prkrtg
63 changes: 63 additions & 0 deletions .github/workflows/update-submodules.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Update Submodules

on:
schedule:
# Run every night at 2 AM UTC
- cron: '0 2 * * *'
workflow_dispatch: # Allow manual trigger

jobs:
update-submodules:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Configure git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"

- name: Update submodules to latest
id: update
run: |
# Update all submodules to their latest remote commits
git submodule update --remote --init --recursive

# Check if there are any changes
if git diff --quiet; then
echo "has_changes=false" >> $GITHUB_OUTPUT
echo "No submodule updates found"
else
echo "has_changes=true" >> $GITHUB_OUTPUT
echo "Submodule updates found:"
git diff --submodule=short
fi

- name: Create Pull Request
if: steps.update.outputs.has_changes == 'true'
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: update submodules"
title: "chore: Update submodules"
body: |
This PR updates submodules to their latest commits.

**Updated submodules:**
```
${{ steps.update.outputs.diff || 'See commit for details' }}
```

---
*This PR was automatically created by the update-submodules workflow.*
branch: automated/update-submodules
delete-branch: true
labels: |
automated
dependencies
11 changes: 7 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[submodule "lris2-csu"]
path = lris2-csu
[submodule "src/lris2/util/lris2-csu"]
path = src/lris2/util/lris2-csu
url = git@github.com:CaltechOpticalObservatories/lris2-csu.git
[submodule "utils/coo-ethercat"]
path = utils/coo-ethercat
[submodule "src/lris2/util/coo-ethercat"]
path = src/lris2/util/coo-ethercat
url = git@github.com:CaltechOpticalObservatories/coo-ethercat.git
[submodule "src/lris2/util/sunpower"]
path = src/lris2/util/sunpower
url = git@github.com:COO-Utilities/sunpower.git
40 changes: 0 additions & 40 deletions Makefile

This file was deleted.

1 change: 0 additions & 1 deletion Mk.instrument

This file was deleted.

File renamed without changes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove the "ktl" prefix, and just call it daemons. We'll have a refactor of l2 power later

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion lris2-csu
Submodule lris2-csu deleted from dab1ed
Binary file not shown.
7 changes: 7 additions & 0 deletions scripts/ait/cryocooler_vibration_measurements/Install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Install deps

## Python
pip install -r requirements.txt

## Ubuntu
sudo apt install portaudio19-dev libportaudio2
Loading
Loading