1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

chore(ci): schema validation for the test workflow

This commit is contained in:
Earl Warren 2025-07-27 06:41:29 +02:00
parent a1926edb94
commit e81664ec7b
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -31,13 +31,13 @@ jobs:
FORGEJO__security__INSTALL_LOCK: "true" FORGEJO__security__INSTALL_LOCK: "true"
FORGEJO__log__LEVEL: "debug" FORGEJO__log__LEVEL: "debug"
FORGEJO__actions__ENABLED: "true" FORGEJO__actions__ENABLED: "true"
FORGEJO_ADMIN_USER: ${{ env.FORGEJO_ADMIN_USER }} FORGEJO_ADMIN_USER: root
FORGEJO_ADMIN_PASSWORD: ${{ env.FORGEJO_ADMIN_PASSWORD }} FORGEJO_ADMIN_PASSWORD: admin1234
FORGEJO_RUNNER_SECRET: ${{ env.FORGEJO_RUNNER_SECRET }} FORGEJO_RUNNER_SECRET: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
cmd: cmd:
- 'bash' - 'bash'
- '-c' - '-c'
- ${{ env.FORGEJO_SCRIPT }} - '/usr/bin/s6-svscan /etc/s6 & sleep 10 ; su -c "forgejo admin user create --admin --username $FORGEJO_ADMIN_USER --password $FORGEJO_ADMIN_PASSWORD --email root@example.com" git && su -c "forgejo forgejo-cli actions register --labels docker --name therunner --secret $FORGEJO_RUNNER_SECRET" git && sleep infinity'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4