File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 1- # Accepts a release dispatch from a private fork.
1+ # Accepts a release dispatch from the private fork.
22# Checks out the fork's code and runs the standard release pipeline
33# using this (public) repo's secrets and publishing identity.
44# The tag is pushed here with [skip ci] to avoid triggering the normal ci3.yml release.
1313 description : " Commit SHA from the source repo"
1414 required : true
1515 source_repo :
16- description : " Source repository to clone "
16+ description : " Source repository (must be AztecProtocol/aztec-packages-private) "
1717 required : true
1818
1919jobs :
2020 release :
2121 runs-on : ubuntu-latest
2222 environment : master
2323 steps :
24+ - name : Validate source repo
25+ run : |
26+ if [[ "${{ inputs.source_repo }}" != "AztecProtocol/aztec-packages-private" ]]; then
27+ echo "::error::source_repo must be AztecProtocol/aztec-packages-private, got '${{ inputs.source_repo }}'"
28+ exit 1
29+ fi
30+
2431 - name : Checkout source
2532 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2633 with :
27- repository : ${{ inputs.source_repo }}
34+ repository : AztecProtocol/aztec-packages-private
2835 ref : ${{ inputs.commit }}
2936 token : ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
3037 fetch-depth : 1
4754 RELEASE_ALL : " 1"
4855 REF_NAME : ${{ inputs.tag }}
4956 RUN_ID : ${{ github.run_id }}
50- SOURCE_REPOSITORY : ${{ inputs.source_repo }}
57+ SOURCE_REPOSITORY : AztecProtocol/aztec-packages-private
5158 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
5259 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
5360 GITHUB_TOKEN : ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments