Commit 1cb040b 1 parent 1220dea commit 1cb040b Copy full SHA for 1cb040b
File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 41
41
contents : write
42
42
packages : write
43
43
steps :
44
- - uses : actions/checkout@v3
45
- with :
46
- fetch-depth : 0
47
-
48
- - run : git fetch --force --tags
49
-
50
44
# Add the "autorelease: published" and remove tagged, this allows
51
45
# monitoring to be enabled that detects failed releases:
52
46
- uses : actions/github-script@v4
@@ -58,16 +52,22 @@ jobs:
58
52
await github.issues.addLabels({
59
53
owner,
60
54
repo,
61
- issue_number: JSON.parse('${{ needs.release.outputs.pr }}'}} ).number,
55
+ issue_number: JSON.parse('${{ needs.release.outputs.pr }}').number,
62
56
labels: ['autorelease: published']
63
57
});
64
58
github.issues.removeLabel({
65
59
owner,
66
60
repo,
67
- issue_number: JSON.parse('${{ needs.release.outputs.pr }}'}} ).number,
61
+ issue_number: JSON.parse('${{ needs.release.outputs.pr }}').number,
68
62
name: 'autorelease: tagged',
69
63
});
70
- console.log(`Tagged JSON.parse('${{ needs.release.outputs.pr }}'}}).number`)
64
+ console.log(`Tagged JSON.parse('${{ needs.release.outputs.pr }}').number`)
65
+
66
+ # - uses: actions/checkout@v3
67
+ # with:
68
+ # fetch-depth: 0
69
+
70
+ # - run: git fetch --force --tags
71
71
72
72
# - uses: docker/login-action@v2
73
73
# with:
You can’t perform that action at this time.
0 commit comments