.github/workflows/lp-build.yaml #20
Workflow file for this run
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: Trigger a Launchpad build on edge | |
on: | |
workflow_dispatch: # Allow manual run | |
workflow_call: # Allow calling from another workflow | |
schedule: | |
- cron: "0 */5 * * *" # Every 5 hours, which is how often Launchpad syncs. | |
permissions: | |
contents: write | |
packages: write | |
issues: write | |
jobs: | |
trigger-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: edge | |
- run: | | |
date > .last_sync | |
git config user.name 'Automatic sync trigger bot' | |
git config user.email 'bots+ruff-sync-trigger@port0.dev' | |
git add .last_sync | |
git commit -m 'Trigger a new LP build' | |
git push |