Skip to content

Commit 8c4800e

Browse files
Merge branch 'main' into fix/clean-not-authenticated-error
2 parents 691f4ae + c9fbe79 commit 8c4800e

12 files changed

Lines changed: 10882 additions & 22621 deletions

.github/.kodiak.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version = 1
2+
3+
[approve]
4+
auto_approve_usernames = ["cloudquery-ci"]
5+
6+
[merge.message]
7+
body = "pull_request_body"
8+
cut_body_after = "Use the following steps to ensure your PR is ready to be reviewed"
9+
cut_body_and_text = true
10+
cut_body_before = "<!-- 🎉 Thank you for making CloudQuery awesome by submitting a PR 🎉 -->"
11+
title = "pull_request_title"
12+
13+
[merge]
14+
blocking_labels = ["wip", "no automerge"]
15+
notify_on_conflict = false

.github/workflows/gen-client.yml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,31 @@ jobs:
1010
timeout-minutes: 30
1111
runs-on: ubuntu-latest
1212
steps:
13+
- name: Generate GitHub App token
14+
id: app-token
15+
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
16+
with:
17+
app-id: ${{ secrets.CQ_APP_ID }}
18+
private-key: ${{ secrets.CQ_APP_PRIVATE_KEY }}
19+
permission-contents: write
20+
permission-pull-requests: write
21+
- name: Generate GitHub App token for cloud repo
22+
id: app-token-cloud
23+
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
24+
with:
25+
app-id: ${{ secrets.CQ_APP_ID }}
26+
private-key: ${{ secrets.CQ_APP_PRIVATE_KEY }}
27+
repositories: |
28+
cloud
29+
permission-contents: read
1330
- name: Checkout
14-
uses: actions/checkout@v5
31+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1532
with:
16-
token: ${{ secrets.GH_CQ_BOT }}
33+
token: ${{ steps.app-token.outputs.token }}
1734

1835
- name: Get Specs File
1936
run: |
20-
curl -H "Authorization: token ${{ secrets.GH_CQ_BOT }}" https://raw.githubusercontent.com/cloudquery/cloud/main/cloud/internal/servergen/spec.json -o spec.json
37+
curl -H "Authorization: token ${{ steps.app-token-cloud.outputs.token }}" https://raw.githubusercontent.com/cloudquery/cloud/main/cloud/internal/servergen/spec.json -o spec.json
2138
2239
- name: Format Specs File
2340
run: |
@@ -26,7 +43,7 @@ jobs:
2643
sudo rm -rf .generated
2744
2845
- name: Set up Go 1.x
29-
uses: actions/setup-go@v6
46+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
3047
with:
3148
go-version-file: go.mod
3249

@@ -35,14 +52,13 @@ jobs:
3552
go generate ./...
3653
3754
- name: Create Pull Request
38-
uses: peter-evans/create-pull-request@v7
55+
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8
3956
with:
4057
# required so the PR triggers workflow runs
41-
token: ${{ secrets.GH_CQ_BOT }}
58+
token: ${{ steps.app-token.outputs.token }}
4259
branch: fix/gen-cloudquery-api
4360
base: main
4461
title: 'fix: Generate CloudQuery Go API Client from `spec.json`'
4562
commit-message: 'fix: Generate CloudQuery Go API Client from `spec.json`'
4663
body: This PR was created by a scheduled workflow to generate the CloudQuery Go API Client from `spec.json`
47-
author: cq-bot <cq-bot@users.noreply.github.com>
4864
labels: automerge

.github/workflows/lint_golang.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
runs-on: ubuntu-latest
1717
timeout-minutes: 10
1818
steps:
19-
- uses: actions/checkout@v5
20-
- uses: actions/setup-go@v6
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
20+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
2121
with:
2222
go-version-file: go.mod
2323
- name: golangci-lint
24-
uses: golangci/golangci-lint-action@v8
24+
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9
2525
with:
26-
version: v2.5.0
26+
version: v2.11.4

.github/workflows/release-pr.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,27 @@ jobs:
1212
runs-on: ubuntu-latest
1313
timeout-minutes: 10
1414
steps:
15-
- uses: googleapis/release-please-action@v4
15+
- name: Generate GitHub App token
16+
id: app-token
17+
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
18+
with:
19+
app-id: ${{ secrets.CQ_APP_ID }}
20+
private-key: ${{ secrets.CQ_APP_PRIVATE_KEY }}
21+
permission-contents: write
22+
permission-pull-requests: write
23+
- name: Generate GitHub App token for .github repo
24+
id: app-token-github
25+
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
26+
with:
27+
app-id: ${{ secrets.CQ_APP_ID }}
28+
private-key: ${{ secrets.CQ_APP_PRIVATE_KEY }}
29+
repositories: |
30+
.github
31+
permission-actions: write
32+
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4
1633
id: release
1734
with:
18-
token: ${{ secrets.GH_CQ_BOT }}
35+
token: ${{ steps.app-token.outputs.token }}
1936
- name: Parse semver string
2037
if: steps.release.outputs.release_created
2138
id: semver_parser
@@ -31,10 +48,10 @@ jobs:
3148
with:
3249
prerelease: true
3350
- name: Trigger Renovate
34-
uses: actions/github-script@v8
51+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
3552
if: steps.release.outputs.release_created && steps.semver_parser.outputs.prerelease == ''
3653
with:
37-
github-token: ${{ secrets.GH_CQ_BOT }}
54+
github-token: ${{ steps.app-token-github.outputs.token }}
3855
script: |
3956
github.rest.actions.createWorkflowDispatch({
4057
owner: 'cloudquery',

.github/workflows/unittest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
os: [ubuntu-latest, macos-latest, windows-latest]
2121
steps:
2222
- name: Check out code into the Go module directory
23-
uses: actions/checkout@v5
23+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2424
- name: Set up Go 1.x
25-
uses: actions/setup-go@v6
25+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
2626
with:
2727
go-version-file: go.mod
2828
- run: go mod download

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.14.5"
2+
".": "1.14.10"
33
}

CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,51 @@
11
# Changelog
22

3+
## [1.14.10](https://github.com/cloudquery/cloudquery-api-go/compare/v1.14.9...v1.14.10) (2026-06-09)
4+
5+
6+
### Bug Fixes
7+
8+
* **deps:** Update module github.com/oapi-codegen/runtime to v1.3.0 ([#356](https://github.com/cloudquery/cloudquery-api-go/issues/356)) ([b20fdd0](https://github.com/cloudquery/cloudquery-api-go/commit/b20fdd0d9fe5ae37fdec8064574e61138f41f134))
9+
* Generate CloudQuery Go API Client from `spec.json` ([#358](https://github.com/cloudquery/cloudquery-api-go/issues/358)) ([6d381ab](https://github.com/cloudquery/cloudquery-api-go/commit/6d381ab8302960adfe1e87f00395c19af90269f0))
10+
* Generate CloudQuery Go API Client from `spec.json` ([#359](https://github.com/cloudquery/cloudquery-api-go/issues/359)) ([b7198ee](https://github.com/cloudquery/cloudquery-api-go/commit/b7198eef868f52e090560710e1e91378737a984d))
11+
* Generate CloudQuery Go API Client from `spec.json` ([#360](https://github.com/cloudquery/cloudquery-api-go/issues/360)) ([337e766](https://github.com/cloudquery/cloudquery-api-go/commit/337e76658306292c5cadc8d861c9c41be0b08d61))
12+
* Generate CloudQuery Go API Client from `spec.json` ([#361](https://github.com/cloudquery/cloudquery-api-go/issues/361)) ([9b3fdd8](https://github.com/cloudquery/cloudquery-api-go/commit/9b3fdd877c80da9552fa8a696cc1cd4000275cf8))
13+
* Generate CloudQuery Go API Client from `spec.json` ([#362](https://github.com/cloudquery/cloudquery-api-go/issues/362)) ([95ed8a2](https://github.com/cloudquery/cloudquery-api-go/commit/95ed8a2e48d872800537538683f916d907889706))
14+
* Generate CloudQuery Go API Client from `spec.json` ([#363](https://github.com/cloudquery/cloudquery-api-go/issues/363)) ([4f8c0e5](https://github.com/cloudquery/cloudquery-api-go/commit/4f8c0e5bc8299c893f5a241c33f267f8b137059d))
15+
16+
## [1.14.9](https://github.com/cloudquery/cloudquery-api-go/compare/v1.14.8...v1.14.9) (2026-03-26)
17+
18+
19+
### Bug Fixes
20+
21+
* **deps:** Update dependency go to v1.26.1 ([#270](https://github.com/cloudquery/cloudquery-api-go/issues/270)) ([d3418b9](https://github.com/cloudquery/cloudquery-api-go/commit/d3418b9f822b1d674b96294fe4b9b2dda67d8361))
22+
* Generate CloudQuery Go API Client from `spec.json` ([#348](https://github.com/cloudquery/cloudquery-api-go/issues/348)) ([0fc0f99](https://github.com/cloudquery/cloudquery-api-go/commit/0fc0f991252b688bdf3a94ceb940c0818fe6ad14))
23+
24+
## [1.14.8](https://github.com/cloudquery/cloudquery-api-go/compare/v1.14.7...v1.14.8) (2025-12-22)
25+
26+
27+
### Bug Fixes
28+
29+
* Generate CloudQuery Go API Client from `spec.json` ([#344](https://github.com/cloudquery/cloudquery-api-go/issues/344)) ([31fbfc7](https://github.com/cloudquery/cloudquery-api-go/commit/31fbfc7d15ca31395e4f3e3a6a4d2d162fd6f079))
30+
31+
## [1.14.7](https://github.com/cloudquery/cloudquery-api-go/compare/v1.14.6...v1.14.7) (2025-12-15)
32+
33+
34+
### Bug Fixes
35+
36+
* Generate CloudQuery Go API Client from `spec.json` ([#340](https://github.com/cloudquery/cloudquery-api-go/issues/340)) ([a05f180](https://github.com/cloudquery/cloudquery-api-go/commit/a05f180b68c7993a2bde94de2302fca012883c6e))
37+
38+
## [1.14.6](https://github.com/cloudquery/cloudquery-api-go/compare/v1.14.5...v1.14.6) (2025-12-02)
39+
40+
41+
### Bug Fixes
42+
43+
* Generate CloudQuery Go API Client from `spec.json` ([#331](https://github.com/cloudquery/cloudquery-api-go/issues/331)) ([04860b2](https://github.com/cloudquery/cloudquery-api-go/commit/04860b27f7a42b8928c9c3b820ec9a67f3246e99))
44+
* Generate CloudQuery Go API Client from `spec.json` ([#333](https://github.com/cloudquery/cloudquery-api-go/issues/333)) ([c0ea4fb](https://github.com/cloudquery/cloudquery-api-go/commit/c0ea4fb176ca14761f7db0264ed48d0d0a61498a))
45+
* Generate CloudQuery Go API Client from `spec.json` ([#334](https://github.com/cloudquery/cloudquery-api-go/issues/334)) ([8c3d7e1](https://github.com/cloudquery/cloudquery-api-go/commit/8c3d7e17cd5454cfc38f6a8957cdec16da678794))
46+
* Generate CloudQuery Go API Client from `spec.json` ([#335](https://github.com/cloudquery/cloudquery-api-go/issues/335)) ([ed62fb1](https://github.com/cloudquery/cloudquery-api-go/commit/ed62fb1d3f5f2f5dd38528d6b5a7035f5fae88a1))
47+
* Generate CloudQuery Go API Client from `spec.json` ([#336](https://github.com/cloudquery/cloudquery-api-go/issues/336)) ([fc7968c](https://github.com/cloudquery/cloudquery-api-go/commit/fc7968c99994838255f0c57aaff3a8022e6de21b))
48+
349
## [1.14.5](https://github.com/cloudquery/cloudquery-api-go/compare/v1.14.4...v1.14.5) (2025-10-01)
450

551

0 commit comments

Comments
 (0)