Skip to content

Operations#10

Merged
Zaiidmo merged 3 commits intodevelopfrom
operations
Mar 4, 2026
Merged

Operations#10
Zaiidmo merged 3 commits intodevelopfrom
operations

Conversation

@Zaiidmo
Copy link
Contributor

@Zaiidmo Zaiidmo commented Mar 4, 2026

No description provided.

Zaiidmo added 2 commits March 3, 2026 20:56
- Move copilot instructions to .github/instructions
- Add sonarqube MCP instructions
- Update publish workflow
Copilot AI review requested due to automatic review settings March 4, 2026 20:33
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 4, 2026

@Zaiidmo Zaiidmo merged commit 2e9ad41 into develop Mar 4, 2026
2 checks passed
Copy link

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

Updates the repository’s operational tooling around publishing and contributor guidance, primarily by adjusting the NPM publish GitHub Action and adding GitHub/Copilot instruction documents plus Changesets configuration.

Changes:

  • Modified the NPM publish workflow to run on master, validate a version tag on HEAD, and publish with npm provenance.
  • Added GitHub instruction documents (Copilot guide + SonarQube MCP guidance).
  • Introduced Changesets configuration and a patch changeset entry.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
.github/workflows/publish.yml Adjusts publish triggers/steps, adds tag validation and npm provenance.
.github/instructions/sonarqube_mcp.instructions.md Adds internal usage guidelines for SonarQube MCP tooling.
.github/instructions/copilot-instructions.md Adds a contributor/Copilot guide describing project structure, testing, and conventions.
.changeset/config.json Adds Changesets configuration for versioning/changelog generation.
.changeset/authkit_71368.md Adds a patch changeset describing the PR’s user-facing change.

Comment on lines +51 to +55
- name: Lint
run: npm run lint --if-present 2>/dev/null || true

- name: Build package
run: npm run build
- name: Test
run: npm test --if-present 2>/dev/null || true
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

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

Lint and Test are effectively disabled here: redirecting stderr to /dev/null hides failure output, and || true forces success even when the script exists and fails. This can publish broken builds to NPM. Prefer running npm run lint --if-present / npm test --if-present without || true (the --if-present already handles missing scripts) so failures block publishing.

Copilot uses AI. Check for mistakes.
"baseBranch": "develop",
"updateInternalDependencies": "patch",
"ignore": [],
"repo": "ciscode/nest-js-developer-kit",
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

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

Changesets repo is set to ciscode/nest-js-developer-kit, but this package’s repository URL is CISCODE-MA/AuthKit (see package.json). This will generate incorrect changelog links and metadata. Update repo to the actual GitHub owner/repo used by this project.

Suggested change
"repo": "ciscode/nest-js-developer-kit",
"repo": "CISCODE-MA/AuthKit",

Copilot uses AI. Check for mistakes.
Comment on lines +5 to +10
## Summary

Enhanced GitHub workflows with Dependabot configuration for automated security dependency updates

## Changes

Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

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

This changeset summary mentions adding a Dependabot configuration, but this PR doesn’t add or modify any Dependabot files (e.g. .github/dependabot.yml). Please update the changeset text to accurately describe the actual changes in this PR (publish workflow + GitHub instruction docs + Changesets config).

Copilot uses AI. Check for mistakes.
tags:
- "v*.*.*"
branches:
- master
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

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

The workflow no longer triggers on tag pushes (only on push to master), but the job requires a version tag on HEAD. This means creating/pushing a vX.Y.Z tag (or GitHub Release) without a simultaneous commit push to master will not run the publish workflow. Re-add a push.tags trigger (e.g. v*.*.*) or switch to release: published so publishing runs when the tag/release is created.

Suggested change
- master
- master
tags:
- "v*.*.*"

Copilot uses AI. Check for mistakes.
@Zaiidmo Zaiidmo deleted the operations branch March 4, 2026 20:37
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