Skip to content

Commit cab4da5

Browse files
authored
format code (#6485)
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
1 parent 3c90aa3 commit cab4da5

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

.github/workflows/blossom-ci.yml

+19-20
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@ on:
77
issue_comment:
88
types: [created]
99
workflow_dispatch:
10-
inputs:
11-
platform:
12-
description: 'runs-on argument'
13-
required: false
14-
args:
15-
description: 'argument'
16-
required: false
10+
inputs:
11+
platform:
12+
description: "runs-on argument"
13+
required: false
14+
args:
15+
description: "argument"
16+
required: false
1717
jobs:
1818
Authorization:
1919
name: Authorization
20-
runs-on: blossom
20+
runs-on: blossom
2121
outputs:
2222
args: ${{ env.args }}
2323
steps:
2424
- name: Check if comment is issued by authorized person
2525
run: blossom-ci
2626
env:
27-
OPERATION: 'AUTH'
27+
OPERATION: "AUTH"
2828
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929
REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }}
3030
Vulnerability-scan:
@@ -37,21 +37,21 @@ jobs:
3737
with:
3838
repository: ${{ fromJson(needs.Authorization.outputs.args).repo }}
3939
ref: ${{ fromJson(needs.Authorization.outputs.args).ref }}
40-
lfs: 'true'
41-
42-
# repo specific steps
40+
lfs: "true"
41+
42+
# repo specific steps
4343
#- name: Setup java
4444
# uses: actions/setup-java@v1
4545
# with:
4646
# java-version: 1.8
47-
47+
4848
# add blackduck properties https://synopsys.atlassian.net/wiki/spaces/INTDOCS/pages/631308372/Methods+for+Configuring+Analysis#Using-a-configuration-file
4949
#- name: Setup blackduck properties
5050
# run: |
5151
# PROJECTS=$(mvn -am dependency:tree | grep maven-dependency-plugin | awk '{ out="com.nvidia:"$(NF-1);print out }' | grep rapids | xargs | sed -e 's/ /,/g')
5252
# echo detect.maven.build.command="-pl=$PROJECTS -am" >> application.properties
5353
# echo detect.maven.included.scopes=compile >> application.properties
54-
54+
5555
- name: Run blossom action
5656
uses: NVIDIA/blossom-action@main
5757
env:
@@ -61,7 +61,7 @@ jobs:
6161
args1: ${{ fromJson(needs.Authorization.outputs.args).args1 }}
6262
args2: ${{ fromJson(needs.Authorization.outputs.args).args2 }}
6363
args3: ${{ fromJson(needs.Authorization.outputs.args).args3 }}
64-
64+
6565
Job-trigger:
6666
name: Start ci job
6767
needs: [Vulnerability-scan]
@@ -70,19 +70,18 @@ jobs:
7070
- name: Start ci job
7171
run: blossom-ci
7272
env:
73-
OPERATION: 'START-CI-JOB'
73+
OPERATION: "START-CI-JOB"
7474
CI_SERVER: ${{ secrets.CI_SERVER }}
7575
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76-
76+
7777
Upload-Log:
7878
name: Upload log
7979
runs-on: blossom
80-
if : github.event_name == 'workflow_dispatch'
80+
if: github.event_name == 'workflow_dispatch'
8181
steps:
8282
- name: Jenkins log for pull request ${{ fromJson(github.event.inputs.args).pr }} (click here)
8383
run: blossom-ci
8484
env:
85-
OPERATION: 'POST-PROCESSING'
85+
OPERATION: "POST-PROCESSING"
8686
CI_SERVER: ${{ secrets.CI_SERVER }}
8787
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
88-

0 commit comments

Comments
 (0)