File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 44 pull_request :
55 types : [labeled]
66 paths :
7- - ' registry/**/modules/**'
7+ - " registry/**/modules/**"
88
99concurrency :
1010 group : ${{ github.workflow }}-${{ github.ref }}
@@ -55,17 +55,17 @@ jobs:
5555 cat "$output_file"
5656 exit 1
5757 fi
58-
58+
5959 # Store output for PR comment
6060 {
6161 echo "output<<EOF"
6262 cat "$output_file"
6363 echo "EOF"
6464 } >> $GITHUB_OUTPUT
65-
65+
6666 # Show output
6767 cat "$output_file"
68-
68+
6969 # Check if any files would be modified by the script
7070 if git diff --quiet; then
7171 echo "versions_up_to_date=true" >> $GITHUB_OUTPUT
8888 script : |
8989 const output = `${{ steps.version-check.outputs.output }}`;
9090 const bumpType = `${{ steps.bump-type.outputs.type }}`;
91-
91+
9292 let comment = `## ❌ Version Bump Validation Failed\n\n`;
9393 comment += `**Bump Type:** \`${bumpType}\`\n\n`;
9494 comment += `Module versions need to be updated but haven't been bumped yet.\n\n`;
@@ -98,10 +98,10 @@ jobs:
9898 comment += `3. Push the changes: \`git push\`\n\n`;
9999 comment += `### Script Output:\n\`\`\`\n${output}\n\`\`\`\n\n`;
100100 comment += `> Please update the module versions and push the changes to continue.`;
101-
101+
102102 github.rest.issues.createComment({
103103 issue_number: context.issue.number,
104104 owner: context.repo.owner,
105105 repo: context.repo.repo,
106106 body: comment
107- });
107+ });
You can’t perform that action at this time.
0 commit comments