Skip to content

Commit

Permalink
Merge pull request #12 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 03b1815 + 4d98077 commit b1fdbc4
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
8 changes: 4 additions & 4 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 All @@ -25,7 +25,7 @@ jobs:
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
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/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
pull_request_url: https://github.com/${{ github.repository }}/pull/${{ github.event.number }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Please report bugs by filing an issue with our GitHub issue tracker at

## Copyright and License

This software is Copyright (c) 2023 by MaxMind, Inc.
This software is Copyright (c) 2023 - 2024 by MaxMind, Inc.

Much of the code is ported from the XGBoost project, so it is also
Copyright (c) 2017-2023 by XGBoost Contributors.
Expand Down

0 comments on commit b1fdbc4

Please sign in to comment.