From efdf372c0f07a0c1a98d78bd3e76ec162caa9e3a Mon Sep 17 00:00:00 2001 From: Juxhin Dyrmishi Brigjaj Date: Tue, 4 Feb 2025 18:15:28 +0100 Subject: [PATCH] misc: another attempt --- .github/workflows/update-tlds.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-tlds.yml b/.github/workflows/update-tlds.yml index a9f1360..0129e71 100644 --- a/.github/workflows/update-tlds.yml +++ b/.github/workflows/update-tlds.yml @@ -13,12 +13,18 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} - name: Set up Python uses: actions/setup-python@v4 with: python-version: "3.x" + - name: Set remote URL with token + run: | + git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/haveibeensquatted/twistrs.git + - name: Configure Git identity run: | git config --global user.email "github-actions[bot]@users.noreply.github.com" @@ -29,6 +35,4 @@ jobs: - name: Run update script run: python twistrs/data/update-psl.py - with: - token: ${{ secrets.GITHUB_TOKEN }}