Skip to content
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
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Initialize CodeQL
uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
languages: go

- name: Autobuild
uses: github/codeql-action/autobuild@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
uses: github/codeql-action/autobuild@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
2 changes: 1 addition & 1 deletion .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
go run golang.org/x/vuln/cmd/govulncheck@v1.9.0 -format sarif ./... > govulncheck.sarif 2>&1 || true

- name: Upload SARIF to GitHub Security
uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
sarif_file: govulncheck.sarif
category: govulncheck
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Every `github/codeql-action` step runs 4.39.3 instead of 4.39.1: `init`, `autobuild` and `analyze` in `codeql.yml` and `upload-sarif` in `govulncheck.yml`, all four on one ref. Dependabot still opened one PR per step (#492 to #495), each failing `TestCodeQLStepsShareOneVersion` and CodeQL, since it reads the `codeql-action` group from `main`, where it arrives with the next release (#497)
- The integration tests `TestNotificationList_Run` and `TestNotificationList_All` ask for one notification instead of 30: app.copia.io takes about two seconds per notification it returns, so the two took 49 s and 24 s (run 42364994440). `TestStatus` stays the slowest test, since `status` itself asks for 50 notifications per page (#449) (#447)
- The integration tests run in a fresh repository instead of the fixed `COPIA_TEST_REPO`, which had collected so many pull requests, issues and notifications that Copia answered slowly (the `Integration tests` step took 22 minutes). The first test of a run creates a private repository `it-run-<base36 unix time>` with an initial commit in the `COPIA_TEST_OWNER` organization, every test works in it and creates the issues and pull requests it needs, and `TestMain` deletes it after the run and fails the run unless the API then answers 404 for it. Before creating it, a run deletes every `it-run-*` repository of the organization older than two hours, left by a run that hit the timeout. Every delete goes through one helper that refuses, without a request, any name that is not `it-run-` and a lowercase base36 time; its unit tests run with `go test ./...`. The repository name is not printed. The `Integration tests` and `Copia version` steps of `ci.yml` and `integration-scheduled.yml` no longer pass `COPIA_TEST_REPO` (#445)
- Every workflow job runs on `ubuntu-24.04` instead of `ubuntu-latest` (14 jobs in `aur.yml`, `bump-go.yml`, `ci.yml`, `close-issues-on-merge.yml`, `codeql.yml`, `copr.yml`, `docs.yml`, `govulncheck.yml`, `integration-scheduled.yml` and `release.yml`), so the runner image changes only with a commit. Dependabot does not track runner labels, so the image is bumped by hand. `test/workflows` fails `go test ./...` on a `runs-on` label ending in `-latest`, in any case, also in a list, a `labels:` mapping or a `strategy.matrix` value, in every workflow and every local action or reusable workflow it reaches (#441)
Expand Down
Loading