Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try adding modver GitHub Action #76

Merged
merged 6 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: "Code scanning - action"

on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
schedule:
- cron: '0 12 * * 3'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build:
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
go-version: [1.21.x, 1.22.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
name: "Build ${{ matrix.go-version }} test on ${{ matrix.platform }}"
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 }}
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ downloaded from the GitHub releases page.
Usage
=====


Required:

* -block-file=[FILENAME] - The name of the block CSV file to use as input.
Expand Down Expand Up @@ -50,6 +49,6 @@ are hexadecimal representations of the first and last IP address in the network.
Copyright and License
=====================

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

This is free software, licensed under the Apache License, Version 2.0.
Loading