Skip to content

Commit d301e6b

Browse files
committed
ci(actions): use client id and remove Trivy from Trunk
Switch the GitHub App token action to use SDK_RELEASE_GITHUB_CLIENT_ID via the recommended client-id input in the release and trunk upgrade workflows. Remove Trivy from the Trunk linter set to match the other SDK repos and avoid the current Trivy bundle crash in the Trunk Check job.
1 parent 6253814 commit d301e6b

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/release-draft.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
id: generate-token
5454
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
5555
with:
56-
app-id: ${{ secrets.SDK_RELEASE_GITHUB_APP_ID }}
56+
client-id: ${{ secrets.SDK_RELEASE_GITHUB_CLIENT_ID }}
5757
private-key: ${{ secrets.SDK_RELEASE_GITHUB_APP_PRIVATE_KEY }}
5858
owner: ${{ github.repository_owner }}
5959
repositories: |

.github/workflows/trunk-upgrade.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
id: generate-token
2121
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
2222
with:
23-
app-id: ${{ secrets.SDK_RELEASE_GITHUB_APP_ID }} # trunk-ignore(actionlint/expression)
23+
client-id: ${{ secrets.SDK_RELEASE_GITHUB_CLIENT_ID }} # trunk-ignore(actionlint/expression)
2424
private-key: ${{ secrets.SDK_RELEASE_GITHUB_APP_PRIVATE_KEY }} # trunk-ignore(actionlint/expression)
2525
owner: ${{ github.repository_owner }}
2626
repositories: |

.trunk/trunk.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ lint:
5050
- prettier@3.8.1
5151
- shellcheck@0.8.0
5252
- shfmt@3.6.0
53-
- trivy@0.69.2
5453
- trufflehog@3.31.3
5554
disabled:
5655
- yamllint

0 commit comments

Comments
 (0)