Skip to content

Commit

Permalink
Merge branch 'main' into patch/llm-aer-031
Browse files Browse the repository at this point in the history
  • Loading branch information
momentmaker authored Oct 22, 2024
2 parents b957ea1 + 18ffb0e commit 6b3ed17
Show file tree
Hide file tree
Showing 20 changed files with 993 additions and 2,060 deletions.
5 changes: 5 additions & 0 deletions .changeset/brown-trainers-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"jira-tracing": minor
---

Adds changesetKey check if `process.env.CHANGESET_KEY` is passed in.
6 changes: 6 additions & 0 deletions .changeset/calm-lions-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"ci-sonarqube-go": patch
"ci-sonarqube-ts": patch
---

update sonarsource/sonarqube-scan-action to v3.0.0
5 changes: 5 additions & 0 deletions .changeset/fast-swans-attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"update-action-versions": patch
---

bump dependencies
5 changes: 5 additions & 0 deletions .changeset/hip-roses-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"setup-renovate": patch
---

bump renovatebot/github-action dependency
8 changes: 8 additions & 0 deletions .changeset/hip-waves-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"ci-lint-go": minor
---

Added `only-new-issues` flag to be set to `true` in golangci-lint (ci-lint-go).
This setting is critical. Without it, we cannot enable new rules without first
resolving outstanding debt.

1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pnpm-lock.yaml
yarn.lock
/apps/go-mod-validator/test/__fixtures__/
/.nx/cache
/.changeset/

# Don't LLM format prompt files
/actions/llm-pr-writer/pr-writer-prompt.md
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nodejs 20.16.0
pnpm 9.6.0
pnpm 9.7.0
21 changes: 21 additions & 0 deletions actions/ci-lint-go/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
# ci-lint-go

Example:

```yaml
name: Golangci-lint

on: [pull_request]

jobs:
golangci-lint:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
actions: read
steps:
- name: golangci-lint
uses: smartcontractkit/.github/actions/ci-lint-go@5f5ebd52cb13f4b8530cd3005ec7ec3180840219 # v0.2.5
with:
go-version-file: go.mod
```
5 changes: 5 additions & 0 deletions actions/ci-lint-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ inputs:
description: ""
required: false
default: --out-format checkstyle:golangci-lint-report.xml
only-new-issues:
description: "Report only the new issues introduced in your code"
required: false
default: "true"
go-directory:
description: ""
default: .
Expand Down Expand Up @@ -116,6 +120,7 @@ runs:
version: ${{ inputs.golangci-lint-version }}
args: ${{ inputs.golangci-lint-args }}
working-directory: ${{ inputs.go-directory }}
only-new-issues: ${{ inputs.only-new-issues }}

- name: Print lint report artifact
if: always()
Expand Down
2 changes: 1 addition & 1 deletion actions/ci-sonarqube-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ runs:
echo "SONARQUBE_ARGS=$ARGS" >> $GITHUB_ENV
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@aecaf43ae57e412bd97d70ef9ce6076e672fe0a9 # v2.3.0
uses: sonarsource/sonarqube-scan-action@0c0f3958d90fc466625f1d1af1f47bddd4cc6bd1 # v3.0.0
with:
args: ${{ env.SONARQUBE_ARGS }}
env:
Expand Down
2 changes: 1 addition & 1 deletion actions/ci-sonarqube-ts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ runs:
steps.sonarqube_report_paths.outputs.sonarqube_lint_report_paths }}

- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@aecaf43ae57e412bd97d70ef9ce6076e672fe0a9 # v2.3.0
uses: sonarsource/sonarqube-scan-action@0c0f3958d90fc466625f1d1af1f47bddd4cc6bd1 # v3.0.0
with:
args: ${{ env.SONARQUBE_ARGS }}
env:
Expand Down
2 changes: 1 addition & 1 deletion actions/setup-renovate/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ runs:
aws-role-duration-seconds: ${{ inputs.aws-role-duration-seconds }}

- name: Run renovate
uses: renovatebot/github-action@8ce0fe8066eb6b16e1bf499b21bc96e5ccd962a4 # v40.2.3
uses: renovatebot/github-action@76d49712364696a06b60e8647df46b288fff0ddc # v40.2.4
with:
renovate-version: ${{ inputs.renovate-version }}
token: ${{ steps.get-access-token.outputs.access-token }}
Expand Down
Loading

0 comments on commit 6b3ed17

Please sign in to comment.