Skip to content

Commit b0287bc

Browse files
authored
Merge pull request #3 from gitgitgadget/move-to-workflows-org
Move to a new org for GitGitGadget's manually-triggered workflows
2 parents 323bb7d + 9dc0a21 commit b0287bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

GitGitGadget/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = async (context, req) => {
6464
const run = await triggerWorkflowDispatch(
6565
context,
6666
undefined,
67-
'gitgitgadget',
67+
'gitgitgadget-workflows',
6868
'gitgitgadget-workflows',
6969
'sync-ref.yml',
7070
'main', {

__tests__/index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const mockTriggerWorkflowDispatch = jest.fn(async (_context, _token, owner, repo, workflow_id, ref, inputs) => {
2-
expect(`${owner}/${repo}`).toEqual('gitgitgadget/gitgitgadget-workflows')
2+
expect(`${owner}/${repo}`).toEqual('gitgitgadget-workflows/gitgitgadget-workflows')
33
expect(workflow_id).toEqual('sync-ref.yml')
44
expect(ref).toEqual('main')
55
expect(inputs).toEqual({ ref: 'refs/heads/next' })
@@ -203,7 +203,7 @@ testWebhookPayload('react to `next` being pushed to git/git', 'push', {
203203
expect(mockTriggerWorkflowDispatch.mock.calls[0]).toEqual([
204204
context,
205205
undefined,
206-
'gitgitgadget',
206+
'gitgitgadget-workflows',
207207
'gitgitgadget-workflows',
208208
'sync-ref.yml',
209209
'main', {

0 commit comments

Comments
 (0)