Skip to content

Commit 8709ab3

Browse files
committed
fix(workflows): clean up license-check.yml format
A human user had to fix the reusable workflow call that the AI could not.
1 parent cb2bec0 commit 8709ab3

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/license-check.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
pull_request:
88
branches:
99
- main
10+
workflow_dispatch:
1011

1112
jobs:
1213
find_license_file:
@@ -34,19 +35,10 @@ jobs:
3435
fi
3536
3637
classify_license:
37-
runs-on: ubuntu-latest
3838
needs: find_license_file
39-
outputs:
40-
license_name: ${{ steps.classify.outputs.license_name }}
41-
steps:
42-
- name: Check out code
43-
uses: actions/checkout@v3
44-
45-
- name: Classify license
46-
id: classify
47-
uses: google/licenseclassifier/.github/workflows/classify.yml@main
48-
with:
49-
file_to_classify: ${{ needs.find_license_file.outputs.filename }}
39+
uses: google/licenseclassifier/.github/workflows/classify.yml@main
40+
with:
41+
file_to_classify: ${{ needs.find_license_file.outputs.filename }}
5042

5143
verify_license:
5244
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)