Skip to content

Update repos.yaml

Update repos.yaml #204

Workflow file for this run

name: create app repo
on:
workflow_dispatch:
push:
branches:
- "main"
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ^1.22
cache-dependency-path: |
go.sum
- name: save private to file
run: 'echo "$MK_REPO_APP_PRIVATE_KEY" > /tmp/private_key'
env:
MK_REPO_APP_PRIVATE_KEY: ${{secrets.MK_REPO_APP_PRIVATE_KEY}}
- name: create repo
run: go run ./tools/mkrepo -run
env:
MK_REPO_ORG: linglongdev
MK_REPO_MANAGER_REPO: Repository-Manager
MK_REPO_APP_ID: ${{ secrets.MK_REPO_APP_ID }}
MK_REPO_APP_INSTALL_ID: ${{ secrets.MK_REPO_APP_INSTALL_ID }}
MK_REPO_APP_PRIVATE_KEY: /tmp/private_key
MK_REPO_WEBHOOK_URL: ${{ secrets.MK_REPO_WEBHOOK_URL }}
MK_REPO_WEBHOOK_SECRET: ${{ secrets.MK_REPO_WEBHOOK_SECRET }}