We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b5986 commit 690cf93Copy full SHA for 690cf93
.github/workflows/ci.yaml
@@ -32,6 +32,21 @@ jobs:
32
- name: Build
33
run: npm run build
34
35
+ - name: Check uncommitted indices
36
+ id: uncommitted_indices
37
+ run: |
38
+ echo "has_changes=$([ -n "$(git diff --name-only HEAD "**/index.ts")" ] && echo "true" || echo "false")" >> $GITHUB_OUTPUT
39
+
40
+ - name: Commit indices
41
+ if: steps.uncommitted_indices.outputs.has_changes == 'true'
42
43
+ echo "${{ secrets.BOT_PGP_KEY }}" | gpg --import --batch
44
+ git config --global user.name "Cloudnode [bot]"
45
+ git config --global user.email "[email protected]"
46
+ git add "**/index.ts"
47
+ git commit -Sm "chore: update indices"
48
+ git push
49
50
- name: Pack
51
run: npm pack
52
0 commit comments