Update Agent Submodule #929
This file contains hidden or 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: Update Agent Submodule | |
| on: | |
| schedule: | |
| # Run every hour | |
| - cron: "0 * * * *" | |
| # Allow manual triggering for testing | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| concurrency: | |
| group: submodule-update | |
| cancel-in-progress: false | |
| jobs: | |
| update-submodule: | |
| runs-on: ubuntu-latest | |
| # Only run on the main repository, not on forks | |
| if: github.repository == 'browseros-ai/BrowserOS' | |
| steps: | |
| - name: Checkout repository with submodules | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Configure git | |
| run: | | |
| git config user.name "Felarof" | |
| git config user.email "nithin.sonti@gmail.com" | |
| - name: Update agent submodule | |
| run: | | |
| bash scripts/update-submodule.sh main | |
| - name: Push changes | |
| run: | | |
| git push origin main |