diff --git a/.github/workflows/add-sponsors.yml b/.github/workflows/add-sponsors.yml index 379089b9..5c0768df 100644 --- a/.github/workflows/add-sponsors.yml +++ b/.github/workflows/add-sponsors.yml @@ -12,7 +12,7 @@ jobs: update-sponsors: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 ssh-key: ${{ secrets.DEPLOY_KEY }} diff --git a/.github/workflows/auto-rebase-develop.yml b/.github/workflows/auto-rebase-develop.yml index b959c621..7845b0be 100644 --- a/.github/workflows/auto-rebase-develop.yml +++ b/.github/workflows/auto-rebase-develop.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/build_container.yml b/.github/workflows/build_container.yml index a81ce119..a8776a82 100644 --- a/.github/workflows/build_container.yml +++ b/.github/workflows/build_container.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ssh-key: ${{ secrets.DEPLOY_KEY }} diff --git a/.github/workflows/coderabbit.yml b/.github/workflows/coderabbit.yml index f6b65e5d..be7781d3 100644 --- a/.github/workflows/coderabbit.yml +++ b/.github/workflows/coderabbit.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Run Coderabbit Review uses: coderabbitai/ai-pr-reviewer@latest diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index b978607a..5a55c59d 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -9,7 +9,7 @@ jobs: update-deps: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Go uses: actions/setup-go@v5 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 342d061e..212961f1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml index 6bfbf2b5..f80b2de7 100644 --- a/.github/workflows/release-cli.yml +++ b/.github/workflows/release-cli.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ssh-key: ${{ secrets.DEPLOY_KEY }} @@ -190,7 +190,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ssh-key: ${{ secrets.DEPLOY_KEY }} @@ -308,7 +308,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.GITHUB_TOKEN }} fetch-depth: 0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 675e3381..20520a45 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: pull-requests: write steps: - name: Checkout Repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ssh-key: ${{ secrets.DEPLOY_KEY }} diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index f8ac5675..edd6e0d2 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -17,7 +17,7 @@ jobs: dependency-scan: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master @@ -34,7 +34,7 @@ jobs: secret-scan: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Run TruffleHog uses: trufflesecurity/trufflehog@main diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4981ca09..a1aaf24d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -31,7 +31,7 @@ jobs: --health-retries 5 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 ssh-key: ${{ secrets.DEPLOY_KEY }} diff --git a/api/internal/features/github-connector/controller/delete_connector.go b/api/internal/features/github-connector/controller/delete_connector.go index 91b7153d..fb5af3e1 100644 --- a/api/internal/features/github-connector/controller/delete_connector.go +++ b/api/internal/features/github-connector/controller/delete_connector.go @@ -63,4 +63,3 @@ func (c *GithubConnectorController) DeleteGithubConnector(f fuego.ContextWithBod Message: "Github Connector deleted successfully", }, nil } - diff --git a/api/internal/features/github-connector/service/delete_connector.go b/api/internal/features/github-connector/service/delete_connector.go index ba12efaa..07c7657f 100644 --- a/api/internal/features/github-connector/service/delete_connector.go +++ b/api/internal/features/github-connector/service/delete_connector.go @@ -46,4 +46,3 @@ func (c *GithubConnectorService) DeleteConnector(ConnectorID string, UserID stri return nil } - diff --git a/api/internal/features/github-connector/service/update_connector.go b/api/internal/features/github-connector/service/update_connector.go index 622c03c7..807eb023 100644 --- a/api/internal/features/github-connector/service/update_connector.go +++ b/api/internal/features/github-connector/service/update_connector.go @@ -97,7 +97,7 @@ func (c *GithubConnectorService) UpdateGithubConnectorRequest(InstallationID str } } - // If no connector without installation_id found, use first connector + // If no connector without installation_id found, use first connector if connectorToUpdate == nil { connectorToUpdate = &connectors[0] } diff --git a/api/internal/features/github-connector/types/delete.go b/api/internal/features/github-connector/types/delete.go index 06205bab..4782f65c 100644 --- a/api/internal/features/github-connector/types/delete.go +++ b/api/internal/features/github-connector/types/delete.go @@ -3,4 +3,3 @@ package types type DeleteGithubConnectorRequest struct { ID string `json:"id" validate:"required"` } -