forked from nrfconnect/sdk-mcuboot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf noup] github: Add a commit tags check workflow
Use the generic commit-tags action to provide sauce tag checks. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
- Loading branch information
1 parent
e768dd2
commit afa0d67
Showing
1 changed file
with
31 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Commit tags | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
commit_tags: | ||
runs-on: ubuntu-22.04 | ||
name: Run commit tags checks on patch series (PR) | ||
steps: | ||
- name: Update PATH for west | ||
run: | | ||
echo "$HOME/.local/bin" >> $GITHUB_PATH | ||
- name: Checkout the code | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
fetch-depth: 0 | ||
|
||
- name: Install python dependencies | ||
run: | | ||
pip3 install setuptools | ||
pip3 install wheel | ||
pip3 install gitlint | ||
- name: Run the commit tags | ||
uses: nrfconnect/action-commit-tags@main | ||
with: | ||
target: '.' | ||
baserev: origin/${{ github.base_ref }} | ||
revrange: 'none' |