Move checks to GHA

This commit is contained in:
Nicolas Grekas
2021-07-09 11:25:58 +02:00
parent bdd0dbc050
commit 3df62e0816
64 changed files with 271 additions and 167 deletions
-1
View File
@@ -1 +0,0 @@
../2.0/config
@@ -0,0 +1,13 @@
trikoder_oauth2:
authorization_server:
private_key: /var/oauth/private.key # Change this
private_key_passphrase: null # Passphrase of the private key, if any
encryption_key: '%env(string:OAUTH2_ENCRYPTION_KEY)%' # (Optional) Change this
resource_server:
public_key: /var/oauth/public.key # Change this
persistence:
doctrine: null
@@ -0,0 +1,2 @@
oauth2:
resource: '@TrikoderOAuth2Bundle/Resources/config/routes.xml'
-1
View File
@@ -1 +0,0 @@
../2.0/manifest.json
+13
View File
@@ -0,0 +1,13 @@
{
"bundles": {
"Trikoder\\Bundle\\OAuth2Bundle\\TrikoderOAuth2Bundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "Fallback OAuth2 encryption key",
"#2": "Please override this with a secure value: https://oauth2.thephpleague.com/installation/#string-password",
"OAUTH2_ENCRYPTION_KEY": "%generate(secret)%"
}
}