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 19
19
steps :
20
20
- name : Checkout current branch
21
21
uses : actions/checkout@v3
22
+ with :
23
+ token : ${{ secrets.PAT_TOKEN }}
22
24
23
25
- name : Move patches
24
26
run : mv patches /tmp/patches
@@ -52,18 +54,18 @@ jobs:
52
54
fi
53
55
54
56
- name : Clean tags and push new
57
+ env :
58
+ GITHUB_TOKEN : ${{ secrets.PAT_TOKEN }}
55
59
run : |
56
60
git tag -d "${{ inputs.tag }}" || echo "Local tag does not exist, skipping delete."
57
61
git push --delete origin "${{ inputs.tag }}" || echo "Remote tag does not exist, skipping delete."
58
62
git tag -a "${{ inputs.tag }}" -m "Tagging version ${{ inputs.tag }} after applying patches"
59
63
git push origin "${{ inputs.tag }}" --force
60
64
echo '{"ref":"${{ inputs.tag }}"}' | gh workflow run build.yml --ref "ci" --repo "blender/gitea" --json
61
- env :
62
- GH_TOKEN : ${{ secrets.PAT_TOKEN }}
63
65
64
66
- name : Push branch
65
67
if : always()
66
68
run : git push origin apply-patches-${{ inputs.tag }} --force
67
69
env :
68
- GH_TOKEN : ${{ secrets.PAT_TOKEN }}
70
+ GITHUB_TOKEN : ${{ secrets.PAT_TOKEN }}
69
71
You can’t perform that action at this time.
0 commit comments