Skip to content

Commit 2f7152a

Browse files
Workflow - run git status
1 parent 970eba2 commit 2f7152a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/autogen-docs.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
schedule:
55
- cron: '45 10 * * TUE'
66
- cron: '45 10 * * THU'
7-
- cron: '25 15 * * MON'
7+
- cron: '48 15 * * MON'
88
jobs:
99
autogen-docs:
1010
runs-on: windows-latest
@@ -40,10 +40,11 @@ jobs:
4040
git config user.email [email protected]
4141
git checkout -b autogen-docs
4242
git add ../.
43-
echo "GIT_STATUS=$(git status)" >> "$GITHUB_OUTPUT"
43+
git status
44+
echo "git_status=$(git status)" >> "$GITHUB_OUTPUT"
4445
id: determine_changes
4546
- name: Commit and push changes if any
46-
if: ${{ !contains(steps.determine_changes.outputs.GIT_STATUS, 'nothing to commit, working tree clean') }}
47+
if: ${{ !contains(steps.determine_changes.outputs.git_status, 'nothing to commit, working tree clean') }}
4748
run: |
4849
echo "Committing and pushing changes to autogen-docs branch"
4950
git commit -m "Automatically generated docs"

0 commit comments

Comments
 (0)