Skip to content

Commit 1765d8e

Browse files
committed
test workflow with node
1 parent 9954f7f commit 1765d8e

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ runs:
6060
CUSTOM_GUIDELINES: ${{ inputs.custom_guidelines }}
6161

6262
- name: Run Augment Agent
63-
uses: augmentcode/augment-agent@v0
63+
# Testing PR #9 commit SHA to verify directory structure compatibility
64+
uses: augmentcode/augment-agent@acf657cb99e573ee2ca730b4779e09045e4c8ce5
6465
with:
6566
augment_session_auth: ${{ inputs.augment_session_auth }}
6667
github_token: ${{ inputs.github_token }}

example-workflows/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,20 @@ Generates reviews only when the `augment_review` label is manually added to a PR
4646
**Triggers:** When the `augment_review` label is added
4747
**Use case:** Manual control over when reviews are generated, useful for selective usage
4848

49+
### 🧪 [Test Commit SHA](./test-commit-sha.yml)
50+
51+
Tests calling augment-agent directly from a specific commit SHA to verify it works correctly when used from a separate repository.
52+
53+
**Triggers:** When a PR is opened or updated
54+
**Use case:** Testing specific augment-agent commits before they're released
55+
56+
### 🧪 [Test Review PR with Commit SHA](./test-review-pr-commit-sha.yml)
57+
58+
Tests calling the review-pr action from a specific commit SHA to verify it works correctly when used from a separate repository. This is the recommended way to test changes, as it verifies the complete action including template directory resolution.
59+
60+
**Triggers:** When a PR is opened or updated
61+
**Use case:** Testing specific review-pr commits or verifying directory structure compatibility when the action is used from external repositories (addresses the concern about directory structure differences between local `./` usage and external `owner/repo@sha` usage)
62+
4963
## Required Permissions
5064

5165
All workflows require these permissions:

0 commit comments

Comments
 (0)