Skip to content

Commit 476637d

Browse files
committed
Add modver action
1 parent 4d14425 commit 476637d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/modver.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: modver
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read # This gets granted by default, so keep granting it.
8+
packages: read # This gets granted by default, so keep granting it.
9+
pull-requests: write # Needed to comment on the PR.
10+
11+
jobs:
12+
modver:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
- uses: bobg/modver@v2.8.1
19+
with:
20+
github_token: ${{ secrets.GITHUB_TOKEN }}
21+
pull_request_url: https://github.com/${{ github.repository }}/pull/${{ github.event.number }}

0 commit comments

Comments
 (0)