Skip to content

Commit

Permalink
chore: use add-and-commit action to add smartbugs results to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
limcheekin committed Sep 13, 2021
1 parent f103544 commit 1a028c2
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/truffle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,9 @@ jobs:
- name: Move SmartBugs Results to Parent Directory
run: cd smartbugs;mv results ../
- name: Commit SmartBugs Results
id: commit
run: |
git config --local user.email "action@github.com"
git config --local user.name "github-actions"
git add results
git commit -m "chore: added smartbugs results" shell: bash
- name: Push changes
if: steps.commit.outputs.push == 'true'
uses: ad-m/github-push-action@master
uses: EndBug/add-and-commit@v7
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

author_name: github-actions
author_email: action@github.com
message: 'chore: added smartbugs results'
add: 'results'

0 comments on commit 1a028c2

Please sign in to comment.