File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
actions/preview_dashboards Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 6767 type : boolean
6868 required : false
6969 # preview-specific:
70- prefix : # TODO should be replaced by automatic passing of PR number
71- description : If provided, it is used to prefix the dashboard preview name.
72- type : string
73- required : false
7470 ttl :
7571 description : Time To Live of the dashboard preview (default "1d").
7672 type : string
@@ -129,7 +125,6 @@ jobs:
129125 with :
130126 directory : ./built
131127 project : ${{ inputs.project }}
132- prefix : ${{ inputs.prefix }}
133128 ttl : ${{ inputs.ttl }}
134129
135130 # TODO append diff to PR
Original file line number Diff line number Diff line change 99 file :
1010 description : Path to the file that contains the resources consumed by the command (mutually exclusive with `directory`).
1111 required : false
12- prefix :
13- description : If provided, it is used to prefix the dashboard preview name.
14- required : false
1512 project :
1613 description : If present, the project scope for this CLI request.
1714 required : false
2623 percli dac preview \
2724 $([[ -n "${{ inputs.directory }}" ]] && echo "-d ${{ inputs.directory }}") \
2825 $([[ -n "${{ inputs.file }}" ]] && echo "-f ${{ inputs.file }}") \
29- $([[ -n "${{ inputs.prefix }}" ]] && echo "--prefix ${{ inputs.prefix }}") \
3026 $([[ -n "${{ inputs.project }}" ]] && echo "--project ${{ inputs.project }}") \
3127 $([[ -n "${{ inputs.ttl }}" ]] && echo "--ttl ${{ inputs.ttl }}") \
28+ --prefix "pr-${{ github.event.pull_request.number }}" \
3229 -o json \
3330 > preview_output.json
3431 shell : bash
4744 repo: context.repo.repo,
4845 issue_number: context.issue.number,
4946 body: commentBody
50- });
47+ });
You can’t perform that action at this time.
0 commit comments