1name: License Check 2 3on: pull_request 4 5jobs: 6 build: 7 runs-on: [self-hosted, X64] 8 steps: 9 - name: Clear repository 10 run: sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE 11 12 - uses: actions/checkout@v2 13 14 - name: Check License Header 15 uses: apache/skywalking-eyes/header@v0.4.0 16 env: 17 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}