F
Filament13mo ago
Adam

Github Actions - How to ignore Filament?

I'm running Github Actions for testing, however it want's to authenticate Filament when it runs composer i is there a way I can avoid this within the Action or via composer somehow?
6 Replies
Dennis Koch
Dennis Koch13mo ago
What do you mean by "Authenticate Filament"?! Please explain and maybe shown your composer.json
Adam
AdamOP13mo ago
Here's the relevent portions
"require": {
"php": "^8.2.8",
"awcodes/filament-quick-create": "^v3.1.1",
"bugsnag/bugsnag-laravel": "^2.0",
"filament/filament": "3.*",
"filament/forms": "^v3.0.0",
"filament/spatie-laravel-media-library-plugin": "^v3.0.0",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.0",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.7",
"league/flysystem-aws-s3-v3": "^3.0",
"mohammad-fouladgar/eloquent-builder": "^4.3",
"owenvoke/blade-fontawesome": "^2.4",
"ralphjsmit/laravel-filament-media-library": "^3.2",
"shuvroroy/filament-spatie-laravel-health": "^v2.0.0",
"spatie/cpu-load-health-check": "^1.0.4"
},
"require": {
"php": "^8.2.8",
"awcodes/filament-quick-create": "^v3.1.1",
"bugsnag/bugsnag-laravel": "^2.0",
"filament/filament": "3.*",
"filament/forms": "^v3.0.0",
"filament/spatie-laravel-media-library-plugin": "^v3.0.0",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.0",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.7",
"league/flysystem-aws-s3-v3": "^3.0",
"mohammad-fouladgar/eloquent-builder": "^4.3",
"owenvoke/blade-fontawesome": "^2.4",
"ralphjsmit/laravel-filament-media-library": "^3.2",
"shuvroroy/filament-spatie-laravel-health": "^v2.0.0",
"spatie/cpu-load-health-check": "^1.0.4"
},
"repositories": [
{
"type": "composer",
"url": "https://filament-media-library-pro.composer.sh"
}
]
"repositories": [
{
"type": "composer",
"url": "https://filament-media-library-pro.composer.sh"
}
]
Is there a way to "skip" the install of filament when in certain environments. For example, if the .env has APP_ENV=testing
Dennis Koch
Dennis Koch13mo ago
So they issue isn't Filament, but that you are requiring a Paid Plugin in composer and didn't add the auth for it.
Adam
AdamOP13mo ago
Is there a standard / easy way to get around this? To my understanding, I can only authenticate Filament on one domain (and then localhost). But the testing is done on Github.
Dennis Koch
Dennis Koch13mo ago
I don't know what the license says and whether it can be restricted to a domain. If you include the credentials in the repo or via Github secret it should work
Adam
AdamOP13mo ago
gotcha, thanks! i'll give that a try
Want results from more Discord servers?
Add your server