diff --git a/.github/workflows/comment.yaml b/.github/workflows/comment.yaml index 2d2223a..42977a8 100644 --- a/.github/workflows/comment.yaml +++ b/.github/workflows/comment.yaml @@ -2,7 +2,7 @@ name: Comment on PR on: pull_request: - types: [opened] + types: [opened, synchronize] permissions: pull-requests: write @@ -14,6 +14,8 @@ jobs: - uses: actions/github-script@v8 with: script: | + console.log('Context object:', JSON.stringify(context, null, 2)); + github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, diff --git a/docs/test.md b/docs/test.md new file mode 100644 index 0000000..a89d927 --- /dev/null +++ b/docs/test.md @@ -0,0 +1 @@ +# teste \ No newline at end of file