diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..2279f0b --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @CISCODE-MA/devops diff --git a/.github/workflows/release-check.yml b/.github/workflows/release-check.yml index b3ef1a8..1fced6c 100644 --- a/.github/workflows/release-check.yml +++ b/.github/workflows/release-check.yml @@ -16,6 +16,7 @@ jobs: permissions: contents: read + statuses: write # Config stays in the workflow file (token stays in repo secrets) env: SONAR_HOST_URL: 'https://sonarcloud.io' @@ -72,3 +73,17 @@ jobs: env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: ${{ env.SONAR_HOST_URL }} + + - name: Report CI status + if: always() + uses: actions/github-script@v7 + with: + script: | + await github.rest.repos.createCommitStatus({ + owner: context.repo.owner, + repo: context.repo.repo, + sha: context.sha, + state: '${{ job.status }}' === 'success' ? 'success' : 'failure', + context: 'CI - Release Check', + description: 'CI checks completed' + }) diff --git a/package-lock.json b/package-lock.json index c5e7e4e..e79aa74 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ciscode/ui-notification-kit", - "version": "0.0.1", + "version": "0.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ciscode/ui-notification-kit", - "version": "0.0.1", + "version": "0.0.2", "license": "MIT", "dependencies": { "@testing-library/jest-dom": "^6.9.1", diff --git a/package.json b/package.json index 16a7c92..e117844 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ciscode/ui-notification-kit", - "version": "0.0.1", + "version": "0.0.2", "description": "A React component library for building notification systems.", "license": "MIT", "author": "CISCODE",