Skip to content

Add GitHub Actions CI workflow for lint#3

Merged
acoelhosantos merged 4 commits into
masterfrom
copilot/add-github-ci-workflow
May 27, 2026
Merged

Add GitHub Actions CI workflow for lint#3
acoelhosantos merged 4 commits into
masterfrom
copilot/add-github-ci-workflow

Conversation

Copy link
Copy Markdown

Copilot AI commented May 26, 2026

No GitHub Actions CI existed; only a CircleCI config was present.

Changes

  • .github/workflows/ci.yml — single-job workflow triggered on pull_request:
    • lint: runs npm run lint (ESLint)
    • Uses permissions: contents: read (least-privilege GITHUB_TOKEN)
    • Runs on blacksmith-4vcpu-ubuntu-2404 runner
    • Uses latest action versions: actions/checkout@v4 and actions/setup-node@v4

Agent-Logs-Url: https://github.com/Portchain/postgrator/sessions/1328faab-27b0-42b1-8ead-c22ef09afc42

Co-authored-by: acoelhosantos <12519533+acoelhosantos@users.noreply.github.com>
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
@acoelhosantos acoelhosantos added the enhancement New feature or request label May 26, 2026
Agent-Logs-Url: https://github.com/Portchain/postgrator/sessions/c026c91e-3b90-4b42-8e77-017bf8a3d274

Co-authored-by: acoelhosantos <12519533+acoelhosantos@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Portchain/postgrator/sessions/5ccd9cdb-7036-4e50-964a-37f188b889fe

Co-authored-by: acoelhosantos <12519533+acoelhosantos@users.noreply.github.com>
@acoelhosantos
Copy link
Copy Markdown

@copilot remove testing from the CI workflow

Copilot AI changed the title Add GitHub Actions CI workflow for lint and test Add GitHub Actions CI workflow for lint May 27, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a GitHub Actions CI workflow to run the repository’s ESLint-based linting on pull requests, providing a baseline CI check alongside the existing CircleCI configuration.

Changes:

  • Adds a .github/workflows/ci.yml workflow triggered on pull_request.
  • Runs npm ci followed by npm run lint using actions/checkout@v4 and actions/setup-node@v4.
  • Restricts GITHUB_TOKEN permissions to contents: read.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
@acoelhosantos acoelhosantos marked this pull request as ready for review May 27, 2026 13:21
@acoelhosantos acoelhosantos requested a review from a team as a code owner May 27, 2026 13:21
@acoelhosantos acoelhosantos merged commit c174359 into master May 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants