3636 with :
3737 fetch-depth : 1
3838 ref : " refs/tags/${{ env.RELEASE_TAG }}"
39+ persist-credentials : false
3940 - name : Prepare Maven Central user token
4041 uses : ./.github/actions/maven-central-user-token
4142 with :
7778 fetch-depth : 1
7879 ref : " refs/tags/${{ env.RELEASE_TAG }}"
7980 path : junit-framework
81+ persist-credentials : false
8082 - name : Check out examples repository
8183 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8284 with :
8587 fetch-depth : 1
8688 path : junit-examples
8789 ref : develop/6.x
90+ persist-credentials : false
8891 - name : Set up JDK
8992 uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
9093 with :
@@ -165,6 +168,7 @@ jobs:
165168 with :
166169 fetch-depth : 1
167170 ref : " refs/tags/${{ env.RELEASE_TAG }}"
171+ persist-credentials : false
168172 - name : Release staging repository
169173 if : ${{ inputs.dryRun == false }}
170174 uses : ./.github/actions/run-gradle
@@ -187,6 +191,7 @@ jobs:
187191 with :
188192 fetch-depth : 1
189193 ref : " refs/tags/${{ env.RELEASE_TAG }}"
194+ persist-credentials : false
190195 - name : Install Graphviz and Poppler
191196 run : |
192197 sudo apt-get update
@@ -244,6 +249,7 @@ jobs:
244249 token : ${{ secrets.JUNIT_BUILDS_GITHUB_TOKEN_EXAMPLES_REPO }}
245250 fetch-depth : 1
246251 ref : develop/6.x
252+ persist-credentials : true
247253 - name : Set up JDK
248254 uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
249255 with :
0 commit comments