Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/hiero-automation.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@
},

"documentation": {
"workflowGuide": "https://github.com/hiero-ledger/hiero-website/blob/main/docs/training/workflow.md"
"workflowGuide": "https://github.com/hiero-ledger/hiero-website/blob/main/docs/training/workflow.md",
"readme": "https://github.com/hiero-ledger/hiero-website/blob/main/README.md",
"signingGuide": "https://github.com/hiero-ledger/sdk-collaboration-hub/tree/main/guides/issue-progression/for-developers",
"mergeConflictsGuide": "https://github.com/hiero-ledger/sdk-collaboration-hub/tree/main/guides/issue-progression/for-developers"
},

"community": {
Expand Down
5 changes: 4 additions & 1 deletion .github/scripts/helpers/config-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@
import fs from 'node:fs';

import path from 'node:path';
import { fileURLToPath } from 'node:url';

const HERE = path.dirname(fileURLToPath(import.meta.url));

/**
* Default path to the repository automation config file.
* Resolves from helpers/ → scripts/ → .github/hiero-automation.json.
* @type {string}
*/
const DEFAULT_CONFIG_PATH = path.resolve(__dirname, '../../hiero-automation.json');
const DEFAULT_CONFIG_PATH = path.resolve(HERE, '../../hiero-automation.json');

/**
* Validates that a value is a non-empty string.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ jobs:
node-version: 20

- name: Initialize CodeQL
uses: github/codeql-action/init@d1ba80a13dd99fba24a470575428917156a28b43 # v4.37.5
uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
queries: security-extended
dependency-caching: true

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@d1ba80a13dd99fba24a470575428917156a28b43 # v4.37.5
uses: github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
with:
category: "/language:${{ matrix.language }}"
11 changes: 3 additions & 8 deletions .github/workflows/on-pr-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,11 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Debug logger export
run: |
echo "=== logger files ==="
find .github -name "logger.js" -print

echo "=== logger contents ==="
sed -n '1,120p' .github/scripts/helpers/logger.js
- name: Run Bot
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |
const script = await import('./.github/scripts/bot-on-pr-update.js');
await script.default({ github, context });
// Script is ESM, so require() returns the namespace; unwrap the default export.
const { default: script } = require('./.github/scripts/bot-on-pr-update.js');
await script({ github, context });
12 changes: 3 additions & 9 deletions .github/workflows/on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,10 @@ jobs:
with:
persist-credentials: false

- name: Debug logger export
run: |
echo "=== logger files ==="
find .github -name "logger.js" -print

echo "=== logger contents ==="
sed -n '1,120p' .github/scripts/helpers/logger.js
- name: Run Bot
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |
const script = await import('./.github/scripts/bot-on-pr-open.js');
await script.default({ github, context });
// Script is ESM, so require() returns the namespace; unwrap the default export.
const { default: script } = require('./.github/scripts/bot-on-pr-open.js');
await script({ github, context });
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@
},
"pnpm": {
"overrides": {
"postcss": "^8.5.10",
"postcss": "^8.5.23",
"tinyexec": "1.0.2",
"undici": ">=7.28.0 <8.0.0",
"undici": ">=7.29.0 <8.0.0",
"vite": "^8.1.5",
"js-yaml": "^5.2.2"
"js-yaml": "^5.2.2",
"sharp": ">=0.35.0 <0.36.0",
"brace-expansion@1": "^1.1.18"
}
}
}
Loading
Loading