@@ -12,7 +12,7 @@ Used for inserting data into the [internal actions marketplace](https://github.c
12
12
Minimal uses expression to use this action:
13
13
14
14
``` yaml
15
- uses : devops-actions/load-used-actions@v1.0.0
15
+ uses : devops-actions/load-used-actions@v1.3.6
16
16
with :
17
17
PAT : ${{ secrets.GITHUB_TOKEN }} # use an Access Token with correct permissions to view private repos if you need to
18
18
` ` `
33
33
load-all-used-actions:
34
34
runs-on: ubuntu-latest
35
35
steps:
36
- - uses: devops-actions/load-used-actions@v1.0.0
36
+ - uses: devops-actions/load-used-actions@v1.3.6
37
37
name: Load used actions
38
38
id: load-actions
39
39
with:
44
44
run: cat ${{ steps.load-actions.outputs.actions-file }}
45
45
46
46
- name: Upload result file as artefact
47
- uses: actions/upload-artifact@v2
47
+ uses: actions/upload-artifact@v4
48
48
with:
49
49
name: actions-file
50
50
path: ${{ steps.load-actions.outputs.actions-file }}
@@ -65,7 +65,15 @@ actions-file: path to file containing compressed json string with all the action
65
65
"workflows": [
66
66
{
67
67
"repo": "rajbos/actions-marketplace",
68
- "workflowFileName": "build-image.yml"
68
+ "workflowFileName": "build-image.yml",
69
+ "actionRef": "v3" # the 'version' of the reference being used, if any
70
+ "actionVersionComment": null # the comment after the version, if any
71
+ },
72
+ {
73
+ "repo": "rajbos/actions-marketplace",
74
+ "workflowFileName": "build-image.yml",
75
+ "actionRef": "6167776d96bd5da05da534aa9cea6d7c786c1c5a", # the 'version' of the reference being used, if any
76
+ "actionVersionComment": "v3" # the comment after the 'version', if any
69
77
},
70
78
{ "etc" : "--" }
71
79
]
@@ -83,3 +91,5 @@ The workflow object has the following properties:
83
91
|----|-----------|
84
92
|repo|The name of the repository that uses the action|
85
93
|workflowFileName|The name of the workflow file that was found in the directory `.github/workflows/`|
94
+ |actionRef| The 'version' of the reference being used, if any|
95
+ |actionVersionComment| The comment after the version', if any|
0 commit comments