From 98112e68118a31858315affa5d91f41f2c8d636a Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 16 Jun 2023 15:32:12 +0300 Subject: [PATCH 1/3] Update update-versions.yml --- .github/workflows/update-versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-versions.yml b/.github/workflows/update-versions.yml index d0a295884f..386b6858b9 100644 --- a/.github/workflows/update-versions.yml +++ b/.github/workflows/update-versions.yml @@ -28,6 +28,6 @@ jobs: - name: Update latest-versions.json and create PR env: - GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | python .github/scripts/update_versions.py From dbb42fee828a0e1860b6e8d5cd198b109606ea85 Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 16 Jun 2023 15:42:41 +0300 Subject: [PATCH 2/3] Update update_versions.py --- .github/scripts/update_versions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/update_versions.py b/.github/scripts/update_versions.py index 843e80a3a6..117ba2dcd3 100644 --- a/.github/scripts/update_versions.py +++ b/.github/scripts/update_versions.py @@ -45,7 +45,7 @@ def create_pr(): pr.create_review_request(reviewers=["ebicoglu", "gizemmutukurt", "skoc10"]) -if __name__ == "__dev__": +if __name__ == "__main__": should_create_pr = update_latest_versions() if should_create_pr: create_pr() From 7a8fa646860d0955c3ab329b33cedbc5f108cfca Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 16 Jun 2023 16:16:59 +0300 Subject: [PATCH 3/3] Update update-versions.yml --- .github/workflows/update-versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-versions.yml b/.github/workflows/update-versions.yml index 386b6858b9..d0a295884f 100644 --- a/.github/workflows/update-versions.yml +++ b/.github/workflows/update-versions.yml @@ -28,6 +28,6 @@ jobs: - name: Update latest-versions.json and create PR env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} run: | python .github/scripts/update_versions.py