reference itself

This commit is contained in:
Earl Warren 2023-03-25 17:09:01 +01:00
parent f608518e87
commit e39c635a02
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 4 additions and 1 deletions

View file

@ -12,3 +12,4 @@ jobs:
./forgejo-runner.sh setup
# testdata/run.sh workflow http://root:admin1234@$(cat forgejo-ip):3000 root demo
testdata/run.sh push_self http://root:admin1234@$(cat forgejo-ip):3000 root
testdata/run.sh workflow http://root:admin1234@$(cat forgejo-ip):3000 root try-setup-forgejo

2
testdata/run.sh vendored
View file

@ -83,6 +83,8 @@ function push_self() {
git config user.name username
git commit -m 'avoid workflow infinite recursion'
git push --force origin fortesting:main
git tag --force vTest HEAD
git push --force origin vTest
)
}

View file

@ -6,4 +6,4 @@ jobs:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: SELF/setup-forgejo@v1
- uses: SELF/setup-forgejo@vTest