Skip to content

Bring PR check workflow to this repository#10

Merged
josefkarasek merged 3 commits into
mainfrom
ci
Jun 24, 2026
Merged

Bring PR check workflow to this repository#10
josefkarasek merged 3 commits into
mainfrom
ci

Conversation

@josefkarasek

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Josef Karasek <karasek.jose@gmail.com>
@josefkarasek josefkarasek requested a review from a team as a code owner June 24, 2026 13:13
Copilot AI review requested due to automatic review settings June 24, 2026 13:13
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR replaces the previously reused PR-check workflow with an in-repo GitHub Actions workflow that runs Go verification, linting, security scanning, build, and tests, and it expands when the workflow runs by adding a push trigger.

Changes:

  • Inline the Go PR check pipeline (checkout, setup-go, mod/gofmt verification, vet, golangci-lint, staticcheck, build/test).
  • Add security scanning/reporting (govulncheck summary + gosec SARIF upload).
  • Trigger the workflow on push in addition to pull_request/workflow_dispatch.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/pr-check.yaml Outdated
Comment thread .github/workflows/pr-check.yaml
Comment thread .github/workflows/pr-check.yaml
Comment thread .github/workflows/pr-check.yaml Outdated
Comment thread .github/workflows/pr-check.yaml
Comment thread .github/workflows/pr-check.yaml
Signed-off-by: Josef Karasek <karasek.jose@gmail.com>
Signed-off-by: Josef Karasek <karasek.jose@gmail.com>
Copilot AI review requested due to automatic review settings June 24, 2026 13:23
@josefkarasek josefkarasek merged commit 09aa982 into main Jun 24, 2026
2 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

Comment on lines +30 to +34
run: |
if ! command -v govulncheck >/dev/null 2>&1; then
echo "govulncheck not found, installing..."
go install golang.org/x/vuln/cmd/govulncheck@v1.4.0
fi
set -euo pipefail
go mod verify
go mod tidy
gofmt -s -w .
- name: golangci-lint
uses: golangci/golangci-lint-action@v9.2.1
with:
version: v2.12.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants