diff --git a/.github/workflows/cla.yaml b/.github/workflows/cla.yaml new file mode 100644 index 000000000..f915854d1 --- /dev/null +++ b/.github/workflows/cla.yaml @@ -0,0 +1,29 @@ +name: "CLA Assistant" +on: + issue_comment: + types: [ created ] + pull_request_target: + types: [ opened, closed, synchronize ] + +permissions: + actions: write + contents: write + pull-requests: write + statuses: write + +jobs: + CLAAssistant: + runs-on: ubuntu-latest + # Only run this workflow on the main repository (continuedev/continue) + if: github.repository == 'continuedev/continue' + steps: + - name: "CLA Assistant" + if: (contains(github.event.comment.body, 'recheck') || contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA')) || github.event_name == 'pull_request_target' + uses: contributor-assistant/github-action@v2.6.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + path-to-signatures: "signatures/version1/cla.json" + path-to-document: "https://github.com/continuedev/continue/blob/main/docs/docs/CLA.md" + branch: cla-signatures + allowlist: dependabot[bot] \ No newline at end of file diff --git a/.github/workflows/jetbrains-release.yaml b/.github/workflows/jetbrains-release.yaml index d1303995e..8ea3d2ebb 100644 --- a/.github/workflows/jetbrains-release.yaml +++ b/.github/workflows/jetbrains-release.yaml @@ -63,7 +63,7 @@ jobs: - name: Bump version in gradle.properties run: | - cd extensions/intelllij + cd extensions/intellij awk '/pluginVersion=/{split($0,a,"="); split(a[2],b,"."); b[3]+=1; printf "%s=%s.%s.%s\n",a[1],b[1],b[2],b[3];next}1' gradle.properties > tmp && mv tmp gradle.properties rm -rf tmp NEW_VERSION=$(grep 'pluginVersion=' gradle.properties | cut -d'=' -f2) diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml index 56920694f..eec79f4c6 100644 --- a/.github/workflows/pr_checks.yaml +++ b/.github/workflows/pr_checks.yaml @@ -235,10 +235,11 @@ jobs: cd packages/config-yaml npm run build - - name: Type check + - name: Type check and lint run: | cd gui npx tsc --noEmit + npm run lint binary-checks: needs: [install-root, install-core, install-config-yaml] diff --git a/.gitignore b/.gitignore index 2ca914069..95cd177a9 100644 --- a/.gitignore +++ b/.gitignore @@ -162,5 +162,8 @@ extensions/.continue-debug/ *.vsix +# intellij module library files +*.iml + .continuerules **/.continue/assistants/ \ No newline at end of file diff --git a/.idea/runConfigurations/config_yaml_tests.xml b/.idea/runConfigurations/config_yaml_tests.xml new file mode 100644 index 000000000..69aaa8bb3 --- /dev/null +++ b/.idea/runConfigurations/config_yaml_tests.xml @@ -0,0 +1,22 @@ + + + + + + + + + + +