Merge pull request #5076 from linuxfoundation/dev #1380
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # Copyright The Linux Foundation and each contributor to CommunityBridge. | |
| # SPDX-License-Identifier: MIT | |
| name: License Header Check | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| license-header-check: | |
| name: License Header Check | |
| runs-on: ubuntu-latest | |
| environment: dev | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Check License Headers - Deployment Stack / Authorizer | |
| working-directory: cla-backend | |
| run: | | |
| ./check-headers.sh | |
| - name: Check License Headers - Go Legacy v1/v2 | |
| working-directory: cla-backend-legacy | |
| run: | | |
| ./check-headers.sh | |
| - name: Check License Headers - Go v3/v4 | |
| working-directory: cla-backend-go | |
| run: | | |
| ./check-headers.sh |