File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
2424 steps :
2525 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
26+ with :
27+ persist-credentials : false
2628 - uses : graalvm/setup-graalvm@27b360dbb857524eaf0b4c4cef364d38e5b4f173 # v1.6.7
2729 with :
2830 java-version : ${{ env.JAVA_VERSION }}
Original file line number Diff line number Diff line change 2424 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2525 with :
2626 fetch-depth : 0
27+ persist-credentials : false
2728 - name : Check the git tag is signed
2829 run : git cat-file -p "${GITHUB_REF_NAME}" | grep "BEGIN SSH SIGNATURE"
2930 - name : Check the git tag is on main or release branch
5253 with :
5354 version : ${{ github.ref_name }}
5455 upload-to-draft : true
55- secrets : inherit
56+ secrets :
57+ RELEASES_GPG_PRIVATE_KEY : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
58+ RELEASES_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
59+ CRYPTOBOT_RELEASE_TOKEN : ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }}
5660
5761 update-sha256sums :
5862 name : Update checksums in release body
Original file line number Diff line number Diff line change 2222 sha256-completion :
2323 description : ' SHA256 sum of the shell completion script'
2424 value : ${{ jobs.build.outputs.sha256-completion }}
25+ secrets :
26+ RELEASES_GPG_PRIVATE_KEY :
27+ required : true
28+ RELEASES_GPG_PASSPHRASE :
29+ required : true
30+ CRYPTOBOT_RELEASE_TOKEN :
31+ required : false
2532
2633env :
2734 JAVA_DIST : ' graalvm'
4350 sha256-completion : ${{ steps.sha256sum.outputs.completion }}
4451 steps :
4552 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
53+ with :
54+ persist-credentials : false
4655 - uses : graalvm/setup-graalvm@27b360dbb857524eaf0b4c4cef364d38e5b4f173 # v1.6.7
4756 with :
4857 java-version : ${{ env.JAVA_VERSION }}
You can’t perform that action at this time.
0 commit comments