MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / listMatchingRefs

Method listMatchingRefs

integrations/github/src/git.ts:174–201  ·  view source on GitHub ↗
(
    key: IntegrationTaskKey,
    params: {
      owner: string;
      repo: string;
      ref: string;
    }
  )

Source from the content-addressed store, hash-verified

172 }
173
174 listMatchingRefs(
175 key: IntegrationTaskKey,
176 params: {
177 owner: string;
178 repo: string;
179 ref: string;
180 }
181 ): GitHubReturnType<Octokit["rest"]["git"]["listMatchingRefs"]> {
182 return this.runTask(
183 key,
184 async (client, task) => {
185 const result = await client.rest.git.listMatchingRefs(params);
186 return result.data;
187 },
188 {
189 name: "List Matching References",
190 params,
191 properties: [
192 ...repoProperties(params),
193 {
194 label: "Ref",
195 text: params.ref,
196 },
197 ],
198 },
199 onError
200 );
201 }
202
203 getRef(
204 key: IntegrationTaskKey,

Callers

nothing calls this directly

Calls 2

repoPropertiesFunction · 0.90
runTaskMethod · 0.45

Tested by

no test coverage detected