Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Mar 28, 2023
1 parent b411daf commit 40a00ff
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,9 @@ jobs:

- name: Run auto-doc using the top level directory
run: make run
if: github.event.pull_request.head.repo.owner.login == github.repository_owner

- name: Format markdown
uses: tj-actions/remark@v3
if: github.event.pull_request.head.repo.owner.login == github.repository_owner

- name: Verify Changed files
uses: tj-actions/verify-changed-files@v14
Expand All @@ -154,16 +152,15 @@ jobs:
test/**
- name: Commit README changes
if: github.event.pull_request.head.repo.owner.login == github.repository_owner && steps.verify-changed-files.outputs.files_changed == 'true' && matrix.platform == 'ubuntu-latest'

if: steps.verify-changed-files.outputs.files_changed == 'true' && matrix.platform == 'ubuntu-latest'
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add ${{ steps.verify-changed-files.outputs.changed_files }}
git commit -m "Updated README."
- name: Push README changes
if: github.event.pull_request.head.repo.owner.login == github.repository_owner && steps.verify-changed-files.outputs.files_changed == 'true' && matrix.platform == 'ubuntu-latest'
if: steps.verify-changed-files.outputs.files_changed == 'true' && matrix.platform == 'ubuntu-latest'
uses: ad-m/github-push-action@master
continue-on-error: true
with:
Expand Down

0 comments on commit 40a00ff

Please sign in to comment.