File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -19,20 +19,16 @@ jobs:
1919 run : |
2020 go install github.com/google/addlicense@latest
2121 echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
22- - name : Create new branch name
23- run : |
24- branch_name=add-license-headers-$(date +%s)
25- echo "BRANCH_NAME=${branch_name}" >> $GITHUB_ENV
2622
2723 - name : Add license headers
28- run : addlicense -v -c "Qubership" -l apache ./src
24+ run : addlicense -v -c "Qubership" -l apache -ignore ./.github/** -ignore ./* .
2925
3026 - name : Create Pull Request
3127 uses : peter-evans/create-pull-request@v7.0.8
3228 with :
3329 token : ${{ secrets.GITHUB_TOKEN }}
3430 commit-message : " chore: add license headers to source files"
35- title : " Add license headers to source files"
31+ title : " chre: add license headers to source files"
3632 body : " This PR adds Apache license headers to all applicable source files."
37- branch : ${{ env.BRANCH_NAME }}
33+ branch : add-license-headers
3834 base : main
You can’t perform that action at this time.
0 commit comments