Skip to content

Commit 6c90b7c

Browse files
committed
update-csl passing
1 parent dd18970 commit 6c90b7c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/update-csl.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@ jobs:
1717
- name: Check for changes
1818
id: changes
1919
run: |
20-
if git diff --quiet; then
20+
if git diff --quiet inst/apa-old-doi-prefix.csl; then
21+
echo "::set-output name=changed::false"
2122
echo "No changes to commit"
22-
exit 0
23+
else
24+
echo "::set-output name=changed::true"
2325
fi
2426
25-
- name: Commit and push if changed
27+
- name: Commit and push
28+
if: steps.changes.outputs.changed == 'true'
2629
run: |
2730
git config --local user.email "[email protected]"
2831
git config --local user.name "GitHub Actions"

Rogue.Rproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Version: 1.0
2+
ProjectId: 528dae67-5fc0-40fd-bdab-0fcaa6eafbc2
23

34
RestoreWorkspace: Default
45
SaveWorkspace: Default

0 commit comments

Comments
 (0)