Skip to content

Commit d9ed9a6

Browse files
carlescuficvinayak
authored andcommitted
[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 <[email protected]> (cherry picked from commit afa0d67)
1 parent eb1ff87 commit d9ed9a6

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/commit-tags.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Commit tags
2+
3+
on: pull_request
4+
5+
jobs:
6+
commit_tags:
7+
runs-on: ubuntu-22.04
8+
name: Run commit tags checks on patch series (PR)
9+
steps:
10+
- name: Update PATH for west
11+
run: |
12+
echo "$HOME/.local/bin" >> $GITHUB_PATH
13+
14+
- name: Checkout the code
15+
uses: actions/checkout@v3
16+
with:
17+
ref: ${{ github.event.pull_request.head.sha }}
18+
fetch-depth: 0
19+
20+
- name: Install python dependencies
21+
run: |
22+
pip3 install setuptools
23+
pip3 install wheel
24+
pip3 install gitlint
25+
26+
- name: Run the commit tags
27+
uses: nrfconnect/action-commit-tags@main
28+
with:
29+
target: '.'
30+
baserev: origin/${{ github.base_ref }}
31+
revrange: 'none'

0 commit comments

Comments
 (0)