diff --git a/app/client/src/git/sagas/fetchStatusSaga.ts b/app/client/src/git/sagas/fetchStatusSaga.ts index 9b62ecac02..90160125fb 100644 --- a/app/client/src/git/sagas/fetchStatusSaga.ts +++ b/app/client/src/git/sagas/fetchStatusSaga.ts @@ -7,7 +7,6 @@ import type { GitArtifactPayloadAction } from "git/store/types"; import { call, put, select } from "redux-saga/effects"; import { validateResponse } from "sagas/ErrorSagas"; import handleApiErrors from "./helpers/handleApiErrors"; -import { selectProtectedMode } from "git/store/selectors/gitArtifactSelectors"; export default function* fetchStatusSaga( action: GitArtifactPayloadAction, @@ -21,22 +20,6 @@ export default function* fetchStatusSaga( selectGitApiContractsEnabled, ); - const isCurrentBranchProtected: boolean = yield select( - selectProtectedMode, - artifactDef, - ); - - if (isCurrentBranchProtected) { - // Skip status check for protected branches and set empty status - yield put( - gitArtifactActions.resetGitStatus({ - artifactDef, - }), - ); - - return; - } - response = yield call( fetchStatusRequest, artifactDef.artifactType,