From 05333072be66598146fb824f59a866b6d110c845 Mon Sep 17 00:00:00 2001 From: Leigh <351529+leighmcculloch@users.noreply.github.com> Date: Fri, 30 Jan 2026 20:19:09 +1000 Subject: [PATCH 1/4] add quickstart workflow for PR testing --- .github/workflows/quickstart.yml | 45 ++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/quickstart.yml diff --git a/.github/workflows/quickstart.yml b/.github/workflows/quickstart.yml new file mode 100644 index 00000000..3d3e0786 --- /dev/null +++ b/.github/workflows/quickstart.yml @@ -0,0 +1,45 @@ +name: Quickstart + +on: + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number }} + cancel-in-progress: true + +jobs: + build: + uses: stellar/quickstart/.github/workflows/build.yml@main + with: + images: | + [ + { + "tag": "latest-with-pr", + "inherit": "latest", + "deps": [ + { "name": "friendbot", "repo": "${{ github.event.pull_request.head.repo.full_name }}", "ref": "${{ github.event.pull_request.head.sha }}", "options": { "pkg": "github.com/stellar/friendbot" } } + ] + }, + { + "tag": "testing-with-pr", + "inherit": "testing", + "deps": [ + { "name": "friendbot", "repo": "${{ github.event.pull_request.head.repo.full_name }}", "ref": "${{ github.event.pull_request.head.sha }}", "options": { "pkg": "github.com/stellar/friendbot" } } + ] + }, + { + "tag": "nightly-with-pr", + "inherit": "nightly", + "deps": [ + { "name": "friendbot", "repo": "${{ github.event.pull_request.head.repo.full_name }}", "ref": "${{ github.event.pull_request.head.sha }}", "options": { "pkg": "github.com/stellar/friendbot" } } + ] + }, + { + "tag": "nightly-next-with-pr", + "inherit": "nightly-next", + "deps": [ + { "name": "friendbot", "repo": "${{ github.event.pull_request.head.repo.full_name }}", "ref": "${{ github.event.pull_request.head.sha }}", "options": { "pkg": "github.com/stellar/friendbot" } } + ] + } + ] + archs: '["amd64"]' From 245d937a16ff7d1d1691f26f0850db0a8a11367f Mon Sep 17 00:00:00 2001 From: Leigh <351529+leighmcculloch@users.noreply.github.com> Date: Fri, 30 Jan 2026 20:27:07 +1000 Subject: [PATCH 2/4] add push, schedule triggers and fix ref handling --- .github/workflows/quickstart.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/quickstart.yml b/.github/workflows/quickstart.yml index 3d3e0786..fa6cd023 100644 --- a/.github/workflows/quickstart.yml +++ b/.github/workflows/quickstart.yml @@ -1,10 +1,14 @@ name: Quickstart on: + push: + branches: [main] pull_request: + schedule: + - cron: '0 18 * * *' # Daily at 10am PT (6pm UTC) concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number }} + group: ${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha || github.ref }} cancel-in-progress: true jobs: @@ -17,28 +21,28 @@ jobs: "tag": "latest-with-pr", "inherit": "latest", "deps": [ - { "name": "friendbot", "repo": "${{ github.event.pull_request.head.repo.full_name }}", "ref": "${{ github.event.pull_request.head.sha }}", "options": { "pkg": "github.com/stellar/friendbot" } } + { "name": "friendbot", "repo": "${{ github.repository }}", "ref": "${{ github.event.pull_request.head.sha || github.sha }}", "options": { "pkg": "github.com/stellar/friendbot" } } ] }, { "tag": "testing-with-pr", "inherit": "testing", "deps": [ - { "name": "friendbot", "repo": "${{ github.event.pull_request.head.repo.full_name }}", "ref": "${{ github.event.pull_request.head.sha }}", "options": { "pkg": "github.com/stellar/friendbot" } } + { "name": "friendbot", "repo": "${{ github.repository }}", "ref": "${{ github.event.pull_request.head.sha || github.sha }}", "options": { "pkg": "github.com/stellar/friendbot" } } ] }, { "tag": "nightly-with-pr", "inherit": "nightly", "deps": [ - { "name": "friendbot", "repo": "${{ github.event.pull_request.head.repo.full_name }}", "ref": "${{ github.event.pull_request.head.sha }}", "options": { "pkg": "github.com/stellar/friendbot" } } + { "name": "friendbot", "repo": "${{ github.repository }}", "ref": "${{ github.event.pull_request.head.sha || github.sha }}", "options": { "pkg": "github.com/stellar/friendbot" } } ] }, { "tag": "nightly-next-with-pr", "inherit": "nightly-next", "deps": [ - { "name": "friendbot", "repo": "${{ github.event.pull_request.head.repo.full_name }}", "ref": "${{ github.event.pull_request.head.sha }}", "options": { "pkg": "github.com/stellar/friendbot" } } + { "name": "friendbot", "repo": "${{ github.repository }}", "ref": "${{ github.event.pull_request.head.sha || github.sha }}", "options": { "pkg": "github.com/stellar/friendbot" } } ] } ] From 2316297959c3a14abb3bf3158041adc5ab214bc7 Mon Sep 17 00:00:00 2001 From: Leigh <351529+leighmcculloch@users.noreply.github.com> Date: Fri, 30 Jan 2026 20:28:48 +1000 Subject: [PATCH 3/4] add empty permissions block to quickstart workflow --- .github/workflows/quickstart.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/quickstart.yml b/.github/workflows/quickstart.yml index fa6cd023..5cb1332c 100644 --- a/.github/workflows/quickstart.yml +++ b/.github/workflows/quickstart.yml @@ -7,6 +7,8 @@ on: schedule: - cron: '0 18 * * *' # Daily at 10am PT (6pm UTC) +permissions: # no permissions are required by this workflow + concurrency: group: ${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha || github.ref }} cancel-in-progress: true From 9230569c0675a49171db68a673703cea4638ef5c Mon Sep 17 00:00:00 2001 From: Leigh <351529+leighmcculloch@users.noreply.github.com> Date: Fri, 30 Jan 2026 20:31:22 +1000 Subject: [PATCH 4/4] simplify permissions comment in quickstart workflow --- .github/workflows/quickstart.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/quickstart.yml b/.github/workflows/quickstart.yml index 5cb1332c..4a48d95e 100644 --- a/.github/workflows/quickstart.yml +++ b/.github/workflows/quickstart.yml @@ -7,7 +7,7 @@ on: schedule: - cron: '0 18 * * *' # Daily at 10am PT (6pm UTC) -permissions: # no permissions are required by this workflow +permissions: {} # no permissions needed concurrency: group: ${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha || github.ref }}