Skip to content

chore: add GitHub package registry authentication token to .npmrc#807

Closed
surajair wants to merge 1 commit intodevfrom
github-action-for-add-to-project
Closed

chore: add GitHub package registry authentication token to .npmrc#807
surajair wants to merge 1 commit intodevfrom
github-action-for-add-to-project

Conversation

@surajair
Copy link
Copy Markdown
Collaborator

This pull request introduces a new GitHub Actions workflow to automate the process of adding newly opened issues and pull requests to the ChaiBuilder Project board. This helps streamline project management by ensuring all new contributions are tracked automatically.

Automation and project management:

  • Added a .github/workflows/add-to-project.yml workflow that uses the actions/add-to-project action to automatically add new issues and pull requests to the ChaiBuilder Project board (Welcome to Chai Builder Sdk Discussions! #3) when they are opened.

Copilot AI review requested due to automatic review settings April 15, 2026 06:18
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sdk Error Error Apr 15, 2026 6:18am

Request Review

Copy link
Copy Markdown
Contributor

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 adds GitHub Actions automation to automatically add newly opened issues and pull requests to the ChaiBuilder organization Project board, improving project intake/triage workflow.

Changes:

  • Add a new workflow that triggers on newly opened issues and pull requests.
  • Use actions/add-to-project to add those items to the ChaiBuilder Project (#3).

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

with:
# Automatically routes to your ChaiBuilder Project #3
project-url: https://github.com/orgs/chaibuilder/projects/3
# Uses the Organization secret you set up in Step 1
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

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

The inline comment says this uses an organization secret set up in “Step 1”, but the value provided is the built-in secrets.GITHUB_TOKEN. Either update the comment to match reality, or switch to using a dedicated secret (e.g., a PAT) if that’s what’s intended for access to the org project.

Suggested change
# Uses the Organization secret you set up in Step 1
# Uses the built-in GitHub Actions token for this workflow run

Copilot uses AI. Check for mistakes.
@@ -0,0 +1,22 @@
name: Auto-Add to ChaiBuilder Project
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

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

PR metadata doesn’t match the actual change: the PR title mentions adding a GitHub package registry token to .npmrc, but this PR adds a GitHub Actions workflow for auto-adding issues/PRs to a project. Please update the PR title (and/or description) so reviewers and release notes reflect the real change.

Copilot uses AI. Check for mistakes.
Comment on lines +11 to +18
jobs:
add-to-project:
name: Add new items to Project Board
runs-on: ubuntu-latest
steps:
- name: Add to Project
uses: actions/add-to-project@v1.0.2
with:
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

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

This workflow doesn’t declare explicit permissions. If the repo/org default GITHUB_TOKEN permissions are read-only, actions/add-to-project will fail to add items. Please add a permissions: block (at workflow or job level) with the minimal writes required for this action.

Copilot uses AI. Check for mistakes.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
sdk-nextjs 81c52bb Apr 15 2026, 06:18 AM

@surajair surajair closed this Apr 17, 2026
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.

2 participants