@greenarmor/ges-cicd-generator 0.3.5 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +13 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -32,6 +32,19 @@ jobs:
32
32
  - name: Generate Compliance Score
33
33
  run: ges score --ci
34
34
 
35
+ - name: Generate Compliance Badge
36
+ if: github.event_name != 'pull_request'
37
+ run: ges badge
38
+
39
+ - name: Commit Compliance Badge
40
+ if: github.event_name != 'pull_request'
41
+ run: |
42
+ git config user.name "github-actions[bot]"
43
+ git config user.email "github-actions[bot]@users.noreply.github.com"
44
+ git add badge.svg README.md || true
45
+ git diff --cached --quiet || git commit -m "Update compliance badge [skip ci]"
46
+ git push
47
+
35
48
  - name: Upload Compliance Report
36
49
  if: always()
37
50
  uses: actions/upload-artifact@v4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greenarmor/ges-cicd-generator",
3
- "version": "0.3.5",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "description": "GESF CI/CD Generator - GitHub Actions workflow generation",
6
6
  "main": "./dist/index.js",
@@ -12,7 +12,7 @@
12
12
  }
13
13
  },
14
14
  "dependencies": {
15
- "@greenarmor/ges-core": "0.3.5"
15
+ "@greenarmor/ges-core": "0.5.0"
16
16
  },
17
17
  "devDependencies": {
18
18
  "typescript": "^6.0.0",