File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
check_samples :
10
10
runs-on : ubuntu-latest
11
- permissions :
11
+ permissions :
12
12
contents : write
13
13
pull-requests : write
14
14
steps :
@@ -26,20 +26,25 @@ jobs:
26
26
echo "@@ MODIFIED @@"
27
27
cat modified.txt
28
28
29
+ - name : Validate Compose Files with Defang CLI
30
+ run : |
31
+ . <(curl -Ls https://s.defang.io/install)
32
+ cat modified.txt | xargs -n1 defang compose config -C > /dev/null
33
+
29
34
- name : Add checklist to PR description
30
35
uses : actions/github-script@v5
31
36
with :
32
37
script : |
33
38
const fs = require('fs');
34
39
const pr_number = context.issue.number;
35
40
const marker = '## Samples Checklist';
36
-
41
+
37
42
// Read the checklist from the file
38
43
let checklist = fs.readFileSync('checklist.txt', 'utf8').trim();
39
44
let error = false;
40
45
41
46
if(!checklist) {
42
- checklist = "✅"
47
+ checklist = "✅ All good! "
43
48
}
44
49
else {
45
50
error = true;
You can’t perform that action at this time.
0 commit comments