diff --git a/tests/fixtures/allowed-event.json b/tests/fixtures/allowed-event.json new file mode 100644 index 0000000..dcc0d36 --- /dev/null +++ b/tests/fixtures/allowed-event.json @@ -0,0 +1,27 @@ +{ + "action": "opened", + "number": 8022, + "pull_request": { + "number": 8022, + "title": "feat(service): upgrade formbricks to v4", + "body": "### Changes\n\n- feat(service): upgrade formbricks to v4 with all the necessary changes\n\n### Issue \n\n- fixes https://github.com/coollabsio/coolify/issues/8015\n\n\n### Category\n\n- [x] Fixing or updating existing one click service\n\n\n### Screenshots or Video (if applicable) \n\nhttps://github.com/user-attachments/assets/b8d21ff3-4109-4807-8ec9-f0262631a91d\n\n\n### AI Usage\n\n- [x] AI is NOT used in the process of creating this PR\n\n\n### Steps to Test\n\n- Step 1 – Deploy formbricks using the compose in this PR\n- Step 2 – wait for 5mins (db migration and startup stuffs)\n- Step 3 – visit the service url\n\n\n### Notes\n\n> For the initial startup formbricks takes 5 minutes so during this time visiting the url will throw 404. I tried deploying it multiple times and this behavior is consistent all the time.\n\n\"image\"\n\n\n\n### Contributor Agreement\n\n> [!IMPORTANT]\n > - [x] I have read and understood the [contributor guidelines](https://github.com/coollabsio/coolify/blob/v4.x/CONTRIBUTING.md). If I have failed to follow any guideline, I understand that this PR may be closed without review.\n > - [x] I have tested the changes thoroughly and am confident that they will work as expected without issues when the maintainer tests them", + "draft": false, + "html_url": "https://github.com/coollabsio/coolify/pull/8022", + "user": { + "login": "ShadowArcanist" + }, + "head": { + "ref": "ShadowArcanist:shadow/fix-formbricks" + }, + "base": { + "ref": "next", + "repo": { + "html_url": "https://github.com/coollabsio/coolify" + } + }, + "labels": [], + "milestone": null, + "author_association": "NONE", + "maintainer_can_modify": true + } +} diff --git a/tests/fixtures/blocked-event.json b/tests/fixtures/blocked-event.json new file mode 100644 index 0000000..0ee993d --- /dev/null +++ b/tests/fixtures/blocked-event.json @@ -0,0 +1,27 @@ +{ + "action": "opened", + "number": 8309, + "pull_request": { + "number": 8309, + "title": "Update README and stuff", + "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.\n\nDuis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n\nGenerated with Claude Code 🤖✨\n\nCloses #123", + "draft": false, + "html_url": "https://github.com/coollabsio/coolify/pull/8309", + "user": { + "login": "nylyy0325" + }, + "head": { + "ref": "main" + }, + "base": { + "ref": "main", + "repo": { + "html_url": "https://github.com/coollabsio/coolify" + } + }, + "labels": [], + "milestone": null, + "author_association": "NONE", + "maintainer_can_modify": false + } +} diff --git a/tests/fixtures/event.json b/tests/fixtures/event.json deleted file mode 100644 index e69de29..0000000