File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1919 steps :
2020 - name : Checkout current branch
2121 uses : actions/checkout@v3
22+ with :
23+ token : ${{ secrets.PAT_TOKEN }}
2224
2325 - name : Move patches
2426 run : mv patches /tmp/patches
@@ -52,18 +54,18 @@ jobs:
5254 fi
5355
5456 - name : Clean tags and push new
57+ env :
58+ GITHUB_TOKEN : ${{ secrets.PAT_TOKEN }}
5559 run : |
5660 git tag -d "${{ inputs.tag }}" || echo "Local tag does not exist, skipping delete."
5761 git push --delete origin "${{ inputs.tag }}" || echo "Remote tag does not exist, skipping delete."
5862 git tag -a "${{ inputs.tag }}" -m "Tagging version ${{ inputs.tag }} after applying patches"
5963 git push origin "${{ inputs.tag }}" --force
6064 echo '{"ref":"${{ inputs.tag }}"}' | gh workflow run build.yml --ref "ci" --repo "blender/gitea" --json
61- env :
62- GH_TOKEN : ${{ secrets.PAT_TOKEN }}
6365
6466 - name : Push branch
6567 if : always()
6668 run : git push origin apply-patches-${{ inputs.tag }} --force
6769 env :
68- GH_TOKEN : ${{ secrets.PAT_TOKEN }}
70+ GITHUB_TOKEN : ${{ secrets.PAT_TOKEN }}
6971
You can’t perform that action at this time.
0 commit comments