From ad988d7ffc2a14c51939143fe620fcb7919a9d19 Mon Sep 17 00:00:00 2001 From: Mirko Mollik Date: Fri, 23 Feb 2024 09:30:11 +0100 Subject: [PATCH 1/4] fix: ci publish action Signed-off-by: Mirko Mollik --- .../build-test-publish-on-push-cached.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-test-publish-on-push-cached.yaml b/.github/workflows/build-test-publish-on-push-cached.yaml index e62d24bb..10a7a4a7 100644 --- a/.github/workflows/build-test-publish-on-push-cached.yaml +++ b/.github/workflows/build-test-publish-on-push-cached.yaml @@ -117,18 +117,18 @@ jobs: - test - lint env: - NPM_TOKEN: ${{secrets.NPM_TOKEN}} - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - GH_TOKEN: ${{secrets.GH_TOKEN}} - GITHUB_TOKEN: ${{secrets.GH_TOKEN}} - GH_USER: ${{secrets.GH_USER}} - GH_EMAIL: ${{secrets.GH_EMAIL}} + NPM_TOKEN: ${{secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN }} + GH_TOKEN: ${{secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN }} + GH_USER: github-actions + GH_EMAIL: github-actions@github.com runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - token: ${{secrets.GH_TOKEN}} + token: ${{secrets.GITHUB_TOKEN }} - uses: pnpm/action-setup@v3 with: version: 8 @@ -149,7 +149,7 @@ jobs: - name: 'Setup git coordinates' run: | - git remote set-url origin https://${{secrets.GH_USER}}:${{secrets.GH_TOKEN}}@github.com/${{ github.repository }}.git + git remote set-url origin https://${{github.actor}}:${{secrets.GITHUB_TOKEN}}@github.com/${{ github.repository }}.git git config user.name $GH_USER git config user.email $GH_EMAIL From 4e9c24204420742eae1d6af95d1a3735c294658d Mon Sep 17 00:00:00 2001 From: Mirko Mollik Date: Fri, 23 Feb 2024 09:37:48 +0100 Subject: [PATCH 2/4] fix: set correct name for package prefix Signed-off-by: Mirko Mollik --- .github/workflows/build-test-publish-on-push-cached.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-test-publish-on-push-cached.yaml b/.github/workflows/build-test-publish-on-push-cached.yaml index 10a7a4a7..334c74ca 100644 --- a/.github/workflows/build-test-publish-on-push-cached.yaml +++ b/.github/workflows/build-test-publish-on-push-cached.yaml @@ -155,7 +155,7 @@ jobs: - name: 'Setup npm registry' run: | - echo "@veramo:registry=https://registry.npmjs.org/" > .npmrc + echo "@sd-jwt:registry=https://registry.npmjs.org/" > .npmrc echo "registry=https://registry.npmjs.org/" >> .npmrc echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc npm whoami From 2ba75c7caa9c6e3c1700056cdd2dce6feb50ba98 Mon Sep 17 00:00:00 2001 From: Mirko Mollik Date: Fri, 23 Feb 2024 11:04:01 +0100 Subject: [PATCH 3/4] fix: add settings file Signed-off-by: Mirko Mollik --- .github/settings.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/settings.yml diff --git a/.github/settings.yml b/.github/settings.yml new file mode 100644 index 00000000..8413dd26 --- /dev/null +++ b/.github/settings.yml @@ -0,0 +1,32 @@ +# +# SPDX-License-Identifier: Apache-2.0 +# + +# Documentation: https://github.com/apps/settings + +repository: + # Repository name + name: sd.jwt-js + # description: A JavaScript implementation of the Selective Disclosure JWT (SD-JWT) spec. + description: + A JavaScript implementation of the Selective Disclosure JWT (SD-JWT) spec. + # A URL with more information about the repository + homepage: https://sdjwt.js.org/ + # A comma-separated list of topics to set on the repository + topics: sd-jwt, jwt + default_branch: next + +# Labels: define labels for Issues and Pull Requests +labels: + - name: bug + color: CC0000 + description: An issue with the system 🐛. + + - name: feature + # If including a `#`, make sure to wrap it with quotes! + color: '#336699' + description: New functionality. + + - name: Help Wanted + # Provide a new name to rename an existing label + new_name: first-timers-only \ No newline at end of file From 5ac485335d9c7ad772954f36ef3a84cb082856db Mon Sep 17 00:00:00 2001 From: Mirko Mollik Date: Fri, 23 Feb 2024 11:20:39 +0100 Subject: [PATCH 4/4] fix: set correct name Signed-off-by: Mirko Mollik --- .github/settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/settings.yml b/.github/settings.yml index 8413dd26..4df9116f 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -6,7 +6,7 @@ repository: # Repository name - name: sd.jwt-js + name: sd-jwt-js # description: A JavaScript implementation of the Selective Disclosure JWT (SD-JWT) spec. description: A JavaScript implementation of the Selective Disclosure JWT (SD-JWT) spec.