Skip to content

Commit

Permalink
Added lb commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
hetulvp committed Apr 21, 2024
1 parent 83643da commit 78f7870
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update_leaderboard_after_merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# If there is only one long-lived branch (e.g. master),
# you can specify it directly.
# If it's not configured, the repository default branch is used.
base: ${{ github.ref }}
base: ${{ github.ref }}
filters: |
src:
- added|modified: 'session_2/challenge/submissions/**'
Expand All @@ -40,7 +40,7 @@ jobs:
id: author_name
run: |
author_name=$(git log -1 --pretty=format:'%an' -- "${{ steps.changes.outputs.src_files }}")
echo "::set-output name=author_name::$author_name"
echo "{author_name}={$author_name}" >> $GITHUB_OUTPUT
- if: ${{ (steps.changes.outputs.src == 'true') && (steps.changes.outputs.src_count == 1) }}
name: Install Python
Expand All @@ -67,4 +67,5 @@ jobs:
name: Commit changes
uses: EndBug/add-and-commit@v9
with:
message: Updated leaderboard
default_author: github_actions

0 comments on commit 78f7870

Please sign in to comment.