From 90e50deeb9a07460b7f1e234ed4e7258ed6e3b42 Mon Sep 17 00:00:00 2001 From: archy Date: Sun, 8 Oct 2023 18:39:51 +0800 Subject: [PATCH] fix gh publish action; move from_curl to first in dropdown --- .github/workflows/release-publish.yml | 8 ++++---- .../dropdowns/request-group-actions-dropdown.tsx | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 3328f0acb..aadd28580 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -196,10 +196,10 @@ jobs: # sentry-cli sourcemaps upload -r ${{ env.RELEASE_VERSION }} ./artifacts/*-latest-sentry - # - name: Configure Git user - # uses: Homebrew/actions/git-user-config@master - # with: - # username: ${{ (github.event_name == 'workflow_dispatch' && github.actor) || 'insomnia-infra' }} + - name: Configure Git user + uses: Homebrew/actions/git-user-config@master + with: + username: ${{ (github.event_name == 'workflow_dispatch' && github.actor) || 'insomnia-infra' }} - name: Merge git branch into main run: | diff --git a/packages/insomnia/src/ui/components/dropdowns/request-group-actions-dropdown.tsx b/packages/insomnia/src/ui/components/dropdowns/request-group-actions-dropdown.tsx index 148f24d28..c049e54a4 100644 --- a/packages/insomnia/src/ui/components/dropdowns/request-group-actions-dropdown.tsx +++ b/packages/insomnia/src/ui/components/dropdowns/request-group-actions-dropdown.tsx @@ -136,6 +136,13 @@ export const RequestGroupActionsDropdown = ({ hint?: PlatformKeyCombinations; action: () => void; })[] = [ + { + id: 'From Curl', + name: 'From Curl', + icon: 'terminal', + action: () => setPasteCurlModalOpen(true), + + }, { id: 'HTTP', name: 'HTTP Request', @@ -182,13 +189,6 @@ export const RequestGroupActionsDropdown = ({ parentId: requestGroup._id, }), }, - { - id: 'From Curl', - name: 'From Curl', - icon: 'terminal', - action: () => setPasteCurlModalOpen(true), - - }, { id: 'New Folder', name: 'New Folder',