Skip to content

Commit

Permalink
Title Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-Becker committed Jun 1, 2022
1 parent 0765768 commit da421a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mint_token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
REPOSITORY_STARS: ${{ github.event.pull_request.head.repo.stargazers_count }}
PULL_REQUEST_BODY: ${{ github.event.pull_request.body }}
PULL_REQUEST_TITLE: ${{ github.event.pull_request.title }}
REPOSITORY_CONTRIBUTORS: ${{ github.event.pull_request.head.repo.watchers }}
REPOSITORY_CONTRIBUTORS: ${{ github.event.pull_request.head.repo.subscribers_count }}
RENOUN_DEPLOYMENT_ADDRESS: ${{ secrets.DEPLOYMENT_ADDRESS }}
PULL_REQUEST_CREATOR_USERNAME: ${{ github.event.pull_request.user.login }}
PULL_REQUEST_CREATOR_PICTURE_URL: ${{ github.event.pull_request.user.avatar_url }}
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
raw_transaction = renoun.functions.mint(
Web3.toChecksumAddress(MINT_TO_ADDRESS),
int(PULL_REQUEST_ID) if PULL_REQUEST_ID.isnumeric() else 0,
re.sub(r'[^a-zA-Z0-9]* ' , '', PULL_REQUEST_TITLE),
re.sub(r'[^a-zA-Z0-9 ]*' , '', PULL_REQUEST_TITLE),
int(ADDITIONS) if ADDITIONS.isnumeric() else 0,
int(DELETIONS) if DELETIONS.isnumeric() else 0,
PULL_REQUEST_CREATOR_PICTURE_URL,
Expand Down
2 changes: 1 addition & 1 deletion src/workflows/mint_token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
REPOSITORY_STARS: ${{ github.event.pull_request.head.repo.stargazers_count }}
PULL_REQUEST_BODY: ${{ github.event.pull_request.body }}
PULL_REQUEST_TITLE: ${{ github.event.pull_request.title }}
REPOSITORY_CONTRIBUTORS: ${{ github.event.pull_request.head.repo.watchers }}
REPOSITORY_CONTRIBUTORS: ${{ github.event.pull_request.head.repo.subscribers_count }}
RENOUN_DEPLOYMENT_ADDRESS: ${{ secrets.DEPLOYMENT_ADDRESS }}
PULL_REQUEST_CREATOR_USERNAME: ${{ github.event.pull_request.user.login }}
PULL_REQUEST_CREATOR_PICTURE_URL: ${{ github.event.pull_request.user.avatar_url }}
Expand Down

0 comments on commit da421a3

Please sign in to comment.