1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 09:32:23 +03:00

91 Commits

Author SHA1 Message Date
Athanasius
7dc1f97a32 Update issue templates
Re-arranged "Bug report" template, and included instructions on attaching the log file.
2020-09-04 21:51:21 +01:00
Athanasius
3dab0e9d91 Comment pr-check flake8, and don't --exit-zero the full check 2020-07-31 14:44:44 +01:00
Athanasius
4aa841c6e2 Will PY file check work if env.PYFILES not set at all ? 2020-07-31 13:59:52 +01:00
Athanasius
67a13d3869 Change Checkout conditional to direct context, not env vars 2020-07-31 13:56:18 +01:00
Athanasius
e087cd7f85 Comment that 'env' for another commit 2020-07-31 13:53:23 +01:00
Athanasius
ecf4732e44 Check step needs a 'uses' or 'run', so add latter with 'env' for check 2020-07-31 13:51:50 +01:00
Athanasius
937dacd7ca Implement "same owner?" check for base/head
* Also updates top comment.
2020-07-31 13:47:40 +01:00
Athanasius
3972abbace Comment out the current steps 2020-07-31 13:42:00 +01:00
Athanasius
b75e2ec2b1 Comment about the check being wrong
This gets the branch rolling for a PR
2020-07-31 13:36:49 +01:00
Athanasius
64e6ad439c Try remote-add/fetch in separate step 2020-07-31 13:28:28 +01:00
Athanasius
8d7f91248d Oops, moved the 'steps:' line too 2020-07-31 13:18:46 +01:00
Athanasius
063a83b8e8 Move 'Show github context' to just before flake8
$GITHUB_EVENT_PATH wasn't set in the shell with it first.
2020-07-31 13:17:56 +01:00
Athanasius
71fa1dbcf6 Comment the 'add base remote and fetch it' 2020-07-31 13:15:52 +01:00
Athanasius
3d46f23fc7 Need svn_url, not url
'url' is api.github.com
2020-07-31 13:07:40 +01:00
Athanasius
895376c039 Try manually adding remote and fetching to get the refs
Also, add 'end' to 'Show github context'
2020-07-31 13:05:20 +01:00
Athanasius
62fe9deae7 repo.owner.login not repo.full_name 2020-07-31 12:57:44 +01:00
Athanasius
e1a5a1f811 Top-level event key needs to be pull_request 2020-07-31 12:51:07 +01:00
Athanasius
7c00ddcebf We want github.context for the full info 2020-07-31 12:40:38 +01:00
Athanasius
2fa10b4a9e Correct setting of BASE_REPO 2020-07-31 12:35:54 +01:00
Athanasius
c5d43a4ada Try a whole new method of referring to 'base', and checkout 'head' 2020-07-31 12:34:12 +01:00
Athanasius
92ea8943df Run 'Show github context' as first step 2020-07-31 12:21:32 +01:00
Athanasius
a01c36f660 Correct "-run:" to "run:" 2020-07-31 12:20:12 +01:00
Athanasius
015a50d53f Fix small typo "-name" -> "- name" 2020-07-31 12:18:05 +01:00
Athanasius
43ae6dde61 Restore changes, draft status was to blame ? 2020-07-31 12:15:15 +01:00
Athanasius
91e07a62eb Revert pr-checks.yml to see if it runs again 2020-07-31 12:12:53 +01:00
Athanasius
5d7612b0db Move comment, was it stopping any steps from being defined? 2020-07-31 12:09:05 +01:00
Athanasius
9259afd344 Add display of entire github context 2020-07-31 11:58:13 +01:00
Athanasius
c18f183db9 .git would be a directory if present, fix test 2020-07-29 15:00:39 +01:00
Athanasius
59babd113b Just use the single allowed actor for now.
And it's now set to "Athanasius".
2020-07-29 15:00:39 +01:00
Athanasius
7a44c28b95 Revert "Try contains(['Athanasius'], github.actor)"
This reverts commit 72c201c5a1336bb7face0a5c686d114194efbdb1.
2020-07-29 15:00:39 +01:00
Athanasius
e22fadd5f5 Revert "Set array in earlier job using JSON"
This reverts commit 8b863c5efdb1414c3fbdf4817c14129d0ccd392a.
2020-07-29 15:00:39 +01:00
Athanasius
51f92b3793 Revert "No nesting ${{..}}"
This reverts commit 9ed541f0e00a5041e8308228fb6a8bff32ceb01c.
2020-07-29 15:00:39 +01:00
Athanasius
0736bbf97b Revert "JSON must have double quotes"
This reverts commit 4db2c907dfd384bb04d99492b45283af1d2e2cc7.
2020-07-29 15:00:39 +01:00
Athanasius
069e7ce9e5 Revert "Wildcard on the end ?"
This reverts commit 511e7a48d6e4dfb4b61cfc43517e7ac9a5f5d7ec.
2020-07-29 15:00:39 +01:00
Athanasius
9b2db0c2e2 Revert "Need at least one JSON key ?"
This reverts commit f509d974c1eb926bc1640ba3c2703518ac972136.
2020-07-29 15:00:39 +01:00
Athanasius
ba437aecd3 Revert "We don't want 'matrix', just 'allowed'."
This reverts commit 9938370e91e3144ce0f29f3da7057e402f9fe3fb.
2020-07-29 15:00:39 +01:00
Athanasius
c71d718c55 Revert "Maybe no wildcard now?"
This reverts commit 61898d1f91fe8f59eb988b79ffce93f24552b92c.
2020-07-29 15:00:39 +01:00
Athanasius
dc8497cd9b Maybe no wildcard now? 2020-07-29 15:00:39 +01:00
Athanasius
75947cb41b We don't want 'matrix', just 'allowed'. 2020-07-29 15:00:39 +01:00
Athanasius
32190a6ebc Need at least one JSON key ? 2020-07-29 15:00:39 +01:00
Athanasius
01354dc1ec Wildcard on the end ? 2020-07-29 15:00:39 +01:00
Athanasius
d38c74d36a JSON must have double quotes 2020-07-29 15:00:39 +01:00
Athanasius
52306b61b7 No nesting ${{..}} 2020-07-29 15:00:39 +01:00
Athanasius
5dd17cacae Set array in earlier job using JSON 2020-07-29 15:00:39 +01:00
Athanasius
2375bf1995 Try contains(['Athanasius'], github.actor) 2020-07-29 15:00:39 +01:00
Athanasius
cea7d14214 Check for .git in PY files check.
NB: This might cause env.PYFILES checks to fail if they need the var
to at least exist.
2020-07-29 15:00:39 +01:00
Athanasius
a1e2344263 Invert the actor test 2020-07-29 15:00:39 +01:00
Athanasius
e3b01f6c58 Remove non-existent dependency 2020-07-29 15:00:39 +01:00
Athanasius
9f860a5990 Check if a conditional is needed on all steps
Basically, if it's only on the first and fails, then do the others
still run ?
2020-07-29 15:00:39 +01:00
Athanasius
912f82ce38 Needs a runs-on for the check_access 2020-07-29 15:00:39 +01:00