Skip to content

Commit

Permalink
make sure dependabot PRs merge automatically
Browse files Browse the repository at this point in the history
add license check and build-workflow-complete
step.

Signed-off-by: Andrew Stoycos <[email protected]>
  • Loading branch information
astoycos committed Jun 3, 2024
1 parent 141025d commit 768a235
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ on:
branches: ['*']

jobs:

check-license:
runs-on: ubuntu-latest
timeout-minutes: 3

steps:
- uses: actions/checkout@v4
- name: Check License Header
uses: apache/skywalking-eyes@cd7b195c51fd3d6ad52afceb760719ddc6b3ee91

build-lint-test:
name: Build, lint, test
runs-on: ubuntu-latest
Expand Down Expand Up @@ -97,3 +107,15 @@ jobs:
name: kubernetes-integration-test-diag
path: /tmp/ktf-diag*
if-no-files-found: ignore

build-workflow-complete:
needs:
[
check-license,
build-lint-test,
kubernetes-integration-tests,
]
runs-on: ubuntu-latest
steps:
- name: Build Complete
run: echo "Build Complete"
18 changes: 18 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
header:
- license:
content: |
SPDX-License-Identifier: Apache-2.0
Copyright Authors of bpfman
paths:
- bpfman
paths-ignore:
- "**/LICENSE-*"
- "**/target/**"
- "**/*.toml"
- "**/*.proto"
- "**/*.lock"
- "**/*.yml"
- "**/*.md"
- "/ven"
comment: on-failure

0 comments on commit 768a235

Please sign in to comment.