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

Add modver GitHub Action #72

Merged
merged 5 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
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 0 * * 1'

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 }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ archive. Inside is the `mm-geofeed-verifier` binary.

## Installation from source or Git

You need the Go compiler (Go 1.12+). You can get it at the [Go
You need the Go compiler (Go 1.21+). You can get it at the [Go
website](https://golang.org).

The easiest way is via `go install`:
Expand All @@ -42,7 +42,7 @@ https://github.com/maxmind/mm-geofeed-verifier/issues

# Copyright and License

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

This is free software, licensed under the [Apache License, Version
2.0](LICENSE-APACHE) or the [MIT License](LICENSE-MIT), at your option.
Loading