From 68399348b665a90d37bb8cc757bfcbbb89b856cf Mon Sep 17 00:00:00 2001 From: Hetul Patel Date: Sat, 20 Apr 2024 22:21:27 +0530 Subject: [PATCH] Fix bug which fails push --- .github/workflows/update_leaderboard.yaml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/update_leaderboard.yaml b/.github/workflows/update_leaderboard.yaml index c31ac36..e7c2652 100644 --- a/.github/workflows/update_leaderboard.yaml +++ b/.github/workflows/update_leaderboard.yaml @@ -1,13 +1,12 @@ name: Update leaderboard on PR Merge. on: - pull_request: - branches: - - development - types: - [closed] -permissions: - contents: write + push: + # pull_request: + # branches: + # - development + # types: + # [closed] jobs: leaderboard_evaluation: @@ -66,7 +65,4 @@ jobs: name: Commit changes uses: EndBug/add-and-commit@v9 with: - author_name: hetulvp - author_email: hetul@infocusp.com - message: 'Updated leader board' - add: 'session_2/challenge/leaderboard.md' \ No newline at end of file + default_author: github_actions \ No newline at end of file