Skip to content

ci: support self hosted runner and remove comment trigger on code review actions#97

Open
stay-foolish-forever wants to merge 3 commits into
alibaba:mainfrom
stay-foolish-forever:ci/support-self-hosted-runner
Open

ci: support self hosted runner and remove comment trigger on code review actions#97
stay-foolish-forever wants to merge 3 commits into
alibaba:mainfrom
stay-foolish-forever:ci/support-self-hosted-runner

Conversation

@stay-foolish-forever

Copy link
Copy Markdown
Contributor

Description

Support running actions on self-hosted runners and remove comment trigger on code review actions to make actions list clean.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Refactoring (no functional changes)
  • Documentation update
  • CI / Build / Tooling

How Has This Been Tested?

  • make test passes locally
  • Manual testing (describe below)

Checklist

  • My code follows the project's coding style (go fmt, go vet)
  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or my feature works
  • New and existing unit tests pass locally with my changes
  • I have updated the documentation accordingly (if applicable)
  • I have signed the CLA

Related Issues

…workflows

- Configure ocr-review.yml to use self-hosted runner with node:20 container
- Configure release.yml build job to use self-hosted runner with golang:1.25 container
- Configure release.yml release job to use self-hosted runner with ubuntu:24.04 container
- Configure release.yml npm-publish job to use self-hosted runner with node:20 container
- Remove explicit Node.js setup step in ocr-review.yml (container provides Node.js)
- deploy-pages: switch to self-hosted runner with node:20 container,
  remove redundant setup-node
- release: bump golang image to 1.26.4, remove redundant setup-go
- release: remove redundant setup-node in npm-publish job (node:20
  image already includes Node 20)
- release: add jq installation step for version injection in npm-publish
Remove the comment-based review trigger and all associated dead code:
- Drop issue_comment event from workflow triggers
- Remove Get PR context step (only needed for comment events)
- Simplify checkout ref and fetch commands to use pull_request data directly
- Remove unreachable else branches in shell and JS blocks
- Update header comments to reflect PR-only trigger
@github-actions

Copy link
Copy Markdown

OpenCodeReview: No comments generated. Looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant