-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mirko Mollik <[email protected]> Co-authored-by: Mirko Mollik <[email protected]> Signed-off-by: Mirko Mollik <[email protected]>
- Loading branch information
Showing
2 changed files
with
41 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
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,13 +149,13 @@ 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 | ||
- 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 | ||
|