You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: incubating/github-release/step.yaml
+20-1Lines changed: 20 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ version: '1.0'
3
3
metadata:
4
4
name: github-release
5
5
title: Create a GitHub release
6
-
version: 1.1.5
6
+
version: 1.1.6
7
7
isPublic: true
8
8
description: Create a GitHub release.
9
9
sources:
@@ -38,6 +38,19 @@ metadata:
38
38
files:
39
39
- ${{CF_VOLUME_PATH}}/${{CF_REPO_NAME}}/my-file1
40
40
- ${{CF_VOLUME_PATH}}/${{CF_REPO_NAME}}/my-file2
41
+
- description: git-token
42
+
workflow:
43
+
github_release:
44
+
type: github-release
45
+
title: Using git token example
46
+
description: |-
47
+
You can also pass a git token explicitly using the git_token
48
+
argument. This is useful when you don't want to use a git-context
49
+
or when the 'forbidDecrypt' feature turned on.
50
+
arguments:
51
+
git_token: ${{GITHUB_TOKEN}}
52
+
release_name: my-release
53
+
release_tag: my-tag-0.1.0
41
54
- description: full
42
55
workflow:
43
56
github_release:
@@ -95,6 +108,11 @@ spec:
95
108
"type": "string",
96
109
"description": "Codefresh Git Context to be used by the plugin. Must be a github git context. If empty, it will try to get the context from the pipeline trigger"
97
110
},
111
+
"git_token": {
112
+
"name": "git token",
113
+
"type": "string",
114
+
"description": "Git token to use for authentication to github. If empty, we will try to get the token from your Codefresh Git Context specified in `git_context_name`"
0 commit comments