Congress is a co-equal branch of government, with oversight responsibility over the Executive Branch, and the branch with sole power to declare war.
The President is further required, by law, to keep Congress informed of such actions.
To the extent consistent with due regard for the protection from unauthorized disclosure of classified information relating to sensitive intelligence sources and methods or other exceptionally sensitive matters, the Director of National Intelligence and the heads of all departments, agencies, and entities of the United States Government involved in a covert action—
(1) shall keep the congressional intelligence committees fully and currently informed of all covert actions which are the responsibility of, are engaged in by, or are carried out for or on behalf of, any department, agency, or entity of the United States Government, including significant failures; and
(2) shall furnish to the congressional intelligence committees any information or material concerning covert actions which is in the possession, custody, or control of any department, agency, or entity of the United States Government and which is requested by either of the congressional intelligence committees in order to carry out its authorized responsibilities.
(c) Timing of reports; access to finding
(1) The President shall ensure that any finding approved pursuant to subsection (a) of this section shall be reported to the congressional intelligence committees as soon as possible after such approval and before the initiation of the covert action authorized by the finding, except as otherwise provided in paragraph (2) and paragraph (3).
(2) If the President determines that it is essential to limit access to the finding to meet extraordinary circumstances affecting vital interests of the United States, the finding may be reported to the chairmen and ranking minority members of the congressional intelligence committees, the Speaker and minority leader of the House of Representatives, the majority and minority leaders of the Senate, and such other member or members of the congressional leadership as may be included by the President.
(3) Whenever a finding is not reported pursuant to paragraph (1) or (2) of this section,1 the President shall fully inform the congressional intelligence committees in a timely fashion and shall provide a statement of the reasons for not giving prior notice.
(4) In a case under paragraph (1), (2), or (3), a copy of the finding, signed by the President, shall be provided to the chairman of each congressional intelligence committee. When access to a finding is limited to the Members of Congress specified in paragraph (2), a statement of the reasons for limiting such access shall also be provided.
50 U.S.C. 413b - Presidential approval and reporting of covert actions
You can see that normal notification is to inform the full intelligence committees in both houses, but when security is a concern, notification of select leadership can be done. This is the route Obama took with the raid that killed bin Laden.
Before the 2011 raid in Pakistan that killed al-Qaida leader Osama bin Laden, the Obama administration did give advance word to the top two Democrats and Republicans in the House and Senate as well as the four leaders of the congressional intelligence committees.
Time.com: Speaker Pelosi Says White House Kept Congress in the Dark on al-Baghdadi Raid, But Informed Russia
It is notable that Trump did see fit to inform certain members he views a loyal allies, politically.
Trump did speak with Republican Senators Richard Burr and Lindsay Graham. Trump said Graham has “been very much involved in this subject” and that he spoke with Burr Sunday morning.
CNBC: Trump did not brief Pelosi and other top congressional leaders on Baghdadi raid
While it is expected that different branches and parties will come into disagreement and some degree of political conflict over issues and process, ultimately, it is a model of shared governing responsibility. Excluding only one party, a party that controls one of the houses of Congress, in an equal branch of government in this manner basically signals the raising of petty partisan concerns over the duties and responsibilities of governing. This is especially true when there is a legal requirement for notification.