Skip to content

Commit

Permalink
🔥 Remove build-ff workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kierandrewett committed Jul 7, 2023
1 parent bceb1e0 commit fee04b4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 163 deletions.
85 changes: 0 additions & 85 deletions .github/workflows/build-ff.yml

This file was deleted.

29 changes: 0 additions & 29 deletions src/compare-versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,33 +64,4 @@ async function main() {

console.log("Pull request has been made.")

const scriptsRepo = await gh.request("GET /repos/{owner}/{repo}", {
owner: "dothq",
repo: "gecko-dev-scripts"
});

const workflows = await gh.request("GET /repos/{owner}/{repo}/actions/workflows", {
owner: "dothq",
repo: "gecko-dev-scripts",
});

const buildWorkflowId = workflows.data.workflows.find(w => w.path.endsWith("/build-ff.yml")).id;

if (!buildWorkflowId) {
throw new Error("No build-ff workflow!");
}

await gh.request("POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", {
owner: "dothq",
repo: "gecko-dev-scripts",
workflow_id: buildWorkflowId,
ref: scriptsRepo.data.default_branch,
inputs: {
sha: pr.data.head.sha
}
});

console.log("Build dispatch is in progress...")
}

main();
49 changes: 0 additions & 49 deletions src/set-run-state.js

This file was deleted.

0 comments on commit fee04b4

Please sign in to comment.