Skip to content

Commit

Permalink
Removed references to Atala; Stage 1 (more rebranding will be done la…
Browse files Browse the repository at this point in the history
…ter)

ci: Validate PR title (#170)

Signed-off-by: Ahmed Moussa <[email protected]>

syncing with main and applying the change there too

squashing

squashing
  • Loading branch information
todorkoleviohk committed Jun 2, 2024
1 parent 640a9a7 commit 98fa025
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 19 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pr-title-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
# kics-scan ignore
name: "Validate PR title"

on: [pull_request]

jobs:
lint_pr:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ concurrency:

env:
JAVA_VERSION: 17
ATALA_GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }}
ATALA_GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }}
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

on:
pull_request:
Expand All @@ -38,7 +38,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.ATALA_GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: "Install Java ${{ env.JAVA_VERSION }}"
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
uses: mi-kas/kover-report@v1
with:
path: ${{ github.workspace }}/apollo/build/reports/kover/report.xml
token: ${{ secrets.ATALA_GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
title: Code Coverage
update-comment: true
min-coverage-overall: 90
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ defaults:

env:
JAVA_VERSION: 17
ATALA_GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }}
ATALA_GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }}
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

on:
workflow_dispatch:
Expand All @@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.ATALA_GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: "Validate Gradle Wrapper"
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ concurrency:

env:
JAVA_VERSION: 17
ATALA_GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }}
GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }}
ATALA_GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }}
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
ATALA_NPM_TOKEN: ${{ secrets.ATALA_NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

on:
workflow_dispatch:
Expand All @@ -30,7 +28,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.ATALA_GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: "Install Java ${{ env.JAVA_VERSION }}"
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ and feel free to propose changes to this document in a pull request.
### Identus

Identus platform is a self-sovereign identity (SSI) platform and service suite for verifiable data and digital identity.
Built on Cardano, it offers core infrastructure for issuing DIDs (Decentralized identifiers) and verifiable credentials,
alongside tools and frameworks to help expand your ecosystem.
Built on the Distributed Ledger, it offers core infrastructure for issuing DIDs (Decentralized identifiers) and
verifiable credentials, alongside tools and frameworks to help expand your ecosystem.
The complete platform is separated in multiple repositories:

* [Apollo](https://github.com/input-output-hk/atala-prism-apollo) - Repo for the Apollo Building Block, this contains
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ A cryptography lib built with Kotlin Multiplatform with support for the followin

### Set Environment Variables

Set variable `ATALA_GITHUB_ACTOR` with your GitHub Username and set variable `ATALA_GITHUB_TOKEN` with your GitHub Personal Access Token.
Set variable `GITHUB_ACTOR` with your GitHub Username and set variable `GITHUB_TOKEN` with your GitHub Personal Access Token.

As an example we will go with `Bash`

1. Open CMD.
2. Run `sudo nano $HOME/.bash_profile`.
3. Insert `export ATALA_GITHUB_ACTOR="YOUR GITHUB USERNAME"`
4. Insert `export ATALA_GITHUB_TOKEN="YOUR GITHUB PERSONAL ACCESS TOKEN"`
3. Insert `export GITHUB_ACTOR="YOUR GITHUB USERNAME"`
4. Insert `export GITHUB_TOKEN="YOUR GITHUB PERSONAL ACCESS TOKEN"`
5. Save profile and restart CMD to take effect.

### Install Homebrew (Mac Only)
Expand Down
2 changes: 1 addition & 1 deletion apollo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ npmPublish {
access.set(NpmAccess.PUBLIC)
register("npmjs") {
uri.set("https://registry.npmjs.org")
authToken.set(System.getenv("ATALA_NPM_TOKEN"))
authToken.set(System.getenv("NPM_TOKEN"))
}
}
}
Expand Down

0 comments on commit 98fa025

Please sign in to comment.