GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: sync · jpkrohling/opencode@596d4e4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • guidelines-check.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/guidelines-check.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/guidelines-check.yml
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,14 @@ jobs:
3939
4040
Use the gh cli to create comments on the files for the violations. Try to leave the comment on the exact line number. If you have a suggested fix include it in a suggestion code block.
4141
42+
Command should be like this
43+
```
44+
gh api \
45+
--method POST \
46+
-H "Accept: application/vnd.github+json" \
47+
-H "X-GitHub-Api-Version: 2022-11-28" \
48+
/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/comments \
49+
-f 'body=[summary of issue]' -f 'commit_id=${{ github.event.pull_request.head.sha }}' -f 'path=[path-to-file]' -F "line=[line]" -f 'side=RIGHT'
50+
```
51+
4252
Only create comments for actual violations. If the code follows all guidelines, don't run any gh commands."

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.