Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify track creation #6991

Merged
merged 11 commits into from
Jul 23, 2024
Prev Previous commit
Next Next commit
Fix hardcoded workflow id
  • Loading branch information
ErikSchierboom committed Jul 12, 2024
commit 528c85182784d91f1dcaaabd1c5b8c3087ccfc01
2 changes: 1 addition & 1 deletion app/commands/github/dispatch_workflow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ class Github::DispatchWorkflow
def call = Exercism.octokit_client.post(api_url, body)

private
def api_url = "https://api.github.com/repos/exercism/#{repo}/actions/workflows/configlet.yml/dispatches"
def api_url = "https://api.github.com/repos/exercism/#{repo}/actions/workflows/#{workflow_id}/dispatches"
def body = { ref: "main" }.to_json
end
Loading