Skip to content

Commit

Permalink
Merge pull request #320 from maxmind/horgh/modver
Browse files Browse the repository at this point in the history
Add modver GitHub Action
  • Loading branch information
oschwald authored Jun 19, 2024
2 parents fd445c7 + 170dc0f commit 5839dd6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: "Code scanning - action"

on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
schedule:
- cron: '0 11 * * 2'

permissions:
security-events: write # Used by this action.

jobs:
CodeQL-Build:

Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/modver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: modver

on:
pull_request:

permissions:
contents: read # This gets granted by default, so keep granting it.
packages: read # This gets granted by default, so keep granting it.
pull-requests: write # Needed to comment on the PR.

jobs:
modver:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: bobg/modver@v2.8.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
pull_request_url: https://github.com/${{ github.repository }}/pull/${{ github.event.number }}

0 comments on commit 5839dd6

Please sign in to comment.