From 12fbd0ed72e81679576b98a38e94d3b55835c663 Mon Sep 17 00:00:00 2001 From: nanos Date: Thu, 15 Jun 2023 11:12:18 +0100 Subject: [PATCH] check out own fork when running GH action (fixes #52) --- .github/workflows/get_context.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/get_context.yml b/.github/workflows/get_context.yml index c513759..1a7315c 100644 --- a/.github/workflows/get_context.yml +++ b/.github/workflows/get_context.yml @@ -14,10 +14,7 @@ jobs: - name: Checkout original repository uses: actions/checkout@v3 with: - repository: nanos/FediFetcher fetch-depth: 0 - - name: Checkout latest release tag - run: git checkout $(git describe --tags) - name: Set up Python uses: actions/setup-python@v4 with: @@ -33,7 +30,7 @@ jobs: path: artifacts - name: Get Directory structure run: ls -lR - - run: python find_posts.py --lock-hours=0 --access-token=${{ secrets.ACCESS_TOKEN }} -c=config.json + - run: python find_posts.py --lock-hours=0 --access-token=${{ secrets.ACCESS_TOKEN }} -c="./config.json" - name: Upload artifacts uses: actions/upload-artifact@v3 with: @@ -43,4 +40,4 @@ jobs: - name: Checkout user's forked repository for keeping workflow alive uses: actions/checkout@v3 - name: Keep workflow alive - uses: gautamkrishnar/keepalive-workflow@v1 + uses: gautamkrishnar/keepalive-workflow@v1 \ No newline at end of file