Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion GitGitGadget/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module.exports = async (context, req) => {
const run = await triggerWorkflowDispatch(
context,
undefined,
'gitgitgadget',
'gitgitgadget-workflows',
'gitgitgadget-workflows',
'sync-ref.yml',
'main', {
Expand Down
4 changes: 2 additions & 2 deletions __tests__/index.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const mockTriggerWorkflowDispatch = jest.fn(async (_context, _token, owner, repo, workflow_id, ref, inputs) => {
expect(`${owner}/${repo}`).toEqual('gitgitgadget/gitgitgadget-workflows')
expect(`${owner}/${repo}`).toEqual('gitgitgadget-workflows/gitgitgadget-workflows')
expect(workflow_id).toEqual('sync-ref.yml')
expect(ref).toEqual('main')
expect(inputs).toEqual({ ref: 'refs/heads/next' })
Expand Down Expand Up @@ -203,7 +203,7 @@ testWebhookPayload('react to `next` being pushed to git/git', 'push', {
expect(mockTriggerWorkflowDispatch.mock.calls[0]).toEqual([
context,
undefined,
'gitgitgadget',
'gitgitgadget-workflows',
'gitgitgadget-workflows',
'sync-ref.yml',
'main', {
Expand Down