Skip to content

Commit

Permalink
chore(Compliance): only run report update on master branch. Ignore co…
Browse files Browse the repository at this point in the history
…mpliance private key
  • Loading branch information
lemoustachiste committed May 25, 2023
1 parent 1a1a4fd commit 0e951cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ node_modules/*
requirements.txt
.idea/*
*.ini*
pk_issuer.txt
blockcerts testnet bitcoin address.txt
.vscode/*
.cache/*
.tox/*
*.egg-info/*
docs/_build/*
site/*
pk_issuer.txt
priv*.txt
pk.txt
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ after_script:
- python3 setup.py install
- npm ci
- npm run test:vc-compliance
# - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then sh publish-vc-compliance-result.sh; fi' # if no changes (aka npm release), no commit then no PR
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then sh publish-vc-compliance-result.sh; fi' # if no changes, no commit
- sh publish-vc-compliance-result.sh
1 change: 0 additions & 1 deletion publish-vc-compliance-result.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ git checkout $TRAVIS_BRANCH
git status
git add vc-compliance-report.html
git commit -m "chore(Compliance): update compliance report"
git show -1
echo "Pushing changes to $TRAVIS_BRANCH"
git config credential.helper "store --file=.git/credentials"
echo "https://${GH_TOKEN}:@github.com" > .git/credentials
Expand Down

0 comments on commit 0e951cd

Please sign in to comment.