Skip to content

Commit 5990b2a

Browse files
Update updateCodeJSON.yml
1 parent 13a022e commit 5990b2a

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/updateCodeJSON.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Update Code.json
22
on:
33
workflow_dispatch:
4+
push:
5+
branches:
6+
- "code-json-*"
7+
paths:
8+
- "code.json"
49

510
permissions:
611
contents: write
@@ -18,12 +23,12 @@ jobs:
1823

1924
- name: Update code.json
2025
id: generator
21-
uses: DSACMS/automated-codejson-generator@main
26+
uses: DSACMS/automated-codejson-generator@sachin/jsonValidationImplementation
2227
with:
2328
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24-
ADMIN_TOKEN: ${{ secrets.ADMIN_PAT }}
29+
ADMIN_TOKEN: ${{ secrets.ADMIN_PAT }}
2530
BRANCH: "main"
26-
SKIP_PR: "true"
31+
SKIP_PR: "false"
2732

2833
- name: Post update information
2934
run: |
@@ -33,4 +38,3 @@ jobs:
3338
elif [ "${{ steps.generator.outputs.method_used }}" = "pull_request" ]; then
3439
echo "Created pull request: ${{ steps.generator.outputs.pr_url }}"
3540
fi
36-

0 commit comments

Comments
 (0)