-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: split workflow into multiple files
- Loading branch information
1 parent
0482ab9
commit a8605d3
Showing
3 changed files
with
28 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Licenses | ||
on: | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
- '.github/dependabot.yml' | ||
- 'bottlerocket/tests/workload/**' | ||
- '**.md' | ||
push: | ||
paths-ignore: | ||
- 'docs/**' | ||
- '.github/dependabot.yml' | ||
- 'bottlerocket/tests/workload/**' | ||
- '**.md' | ||
branches: [develop] | ||
jobs: | ||
cargo-deny: | ||
# A small machine is OK for this independent job. | ||
runs-on: ubuntu-latest | ||
# If we already checked the PR, we don't need to check the actual push | ||
if: ${{ github.event_name == 'pull_request' }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: make cargo-deny |
This file contains 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