Skip to content

Commit

Permalink
Merge pull request #11 from talgat-abdraimov/feature/readme-update
Browse files Browse the repository at this point in the history
log
  • Loading branch information
talgat-abdraimov committed Apr 17, 2024
2 parents 2930b86 + d1d4380 commit 7b4b113
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ jobs:
- name: check if initial commit
id: check
run: |
if git rev-list --count HEAD <= 2
if git rev-list --count HEAD <= 1
then
echo "initial_commit=true" >> $GITHUB_OUTPUT
else
echo "initial_commit=false" >> $GITHUB_OUTPUT
fi
echo "initial_commit=$(cat $GITHUB_OUTPUT)"
- name: Change README
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 7b4b113

Please sign in to comment.