Skip to content

Prow Lite (Label Sync) #9726

Prow Lite (Label Sync)

Prow Lite (Label Sync) #9726

name: Prow Lite (Label Sync)
on:
schedule:
- cron: "0 * * * *"
push:
branches:
- main
- master
paths:
- .github/labels.yml
- .github/workflows/prow-labelsync.yml
permissions:
contents: write
pull-requests: read
env:
PROW_GITHUB_PRIVATE_KEY: ${{ secrets.PROW_GITHUB_PRIVATE_KEY }}
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- "1.25.5"
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: |
go mod tidy
- name: Run Prow Lite (Label Sync)
run: |
go version
go run cmd/prow/main.go run --mode ci --plugin labelsync