Skip to content

Operations - #10

Merged
Zaiidmoumni merged 3 commits into
developfrom
operations
Mar 4, 2026
Merged

Operations#10
Zaiidmoumni merged 3 commits into
developfrom
operations

Conversation

@Zaiidmoumni

Copy link
Copy Markdown
Contributor

No description provided.

- Move copilot instructions to .github/instructions
- Add sonarqube MCP instructions
- Update publish workflow
CopilotAI review requested due to automatic review settings March 4, 2026 20:33
@sonarqubecloud

Copy link
Copy Markdown

@Zaiidmoumni
Zaiidmoumni merged commit 2e9ad41 into developMar 4, 2026
2 checks passed

CopilotAI left a comment

Copy link
Copy Markdown

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
FileDescription
.github/workflows/publish.ymlAdjusts publish triggers/steps, adds tag validation and npm provenance.
.github/instructions/sonarqube_mcp.instructions.mdAdds internal usage guidelines for SonarQube MCP tooling.
.github/instructions/copilot-instructions.mdAdds a contributor/Copilot guide describing project structure, testing, and conventions.
.changeset/config.jsonAdds Changesets configuration for versioning/changelog generation.
.changeset/authkit_71368.mdAdds 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

CopilotAIMar 4, 2026

Copy link

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",

CopilotAIMar 4, 2026

Copy link

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

CopilotAIMar 4, 2026

Copy link

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

CopilotAIMar 4, 2026

Copy link

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.
@Zaiidmoumni
Zaiidmoumni deleted the operations branch March 4, 2026 20:37
Sign up for freeto 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

@Zaiidmoumni