Skip to content

Commit

Permalink
reindent & commit
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Jan 2, 2022
1 parent 7cc9735 commit 3bced06
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/sheldon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

# otherwise, checkout the current master, and the pr to the subdirectory 'pr'
# otherwise, checkout the current master, and the pr to the subdirectory 'pull-request'
- name: Checkout base repo for pull-request test
uses: actions/checkout@v2
if: "! contains(github.event.pull_request.labels.*.name, 'safe to test')"
Expand Down Expand Up @@ -73,3 +73,12 @@ jobs:
- name: report
if: (failure() || success()) && steps.changed.outputs.style == 'true'
run: bundle exec sheldon --token=$GITHUB_TOKEN --${{ job.status }} --verbose

- name: commit in reindented styles
if: github.repository == 'citation-style-language/styles' && steps.changed.outputs.style == 'true' && github.event.user.login == 'retorquere'
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Re-indent CSL styles
file_pattern: ${{ steps.changed.outputs.style_files }}
repository: pull-request
skip_dirty_check: false

0 comments on commit 3bced06

Please sign in to comment.