From 3d8ab95f1169fa61d353fda96604ebdbcc59a4f0 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 26 Jan 2024 15:52:45 +0000 Subject: [PATCH 1/4] Update get_context.yml Update action for Node 16 deprecation (#92) --- .github/workflows/get_context.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/get_context.yml b/.github/workflows/get_context.yml index 1a7315c..cd289e6 100644 --- a/.github/workflows/get_context.yml +++ b/.github/workflows/get_context.yml @@ -12,17 +12,17 @@ jobs: environment: mastodon steps: - name: Checkout original repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' cache: 'pip' # caching pip dependencies - run: pip install -r requirements.txt - name: Download all workflow run artifacts - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: name: artifacts workflow: get_context.yml @@ -40,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 \ No newline at end of file + uses: gautamkrishnar/keepalive-workflow@v1 From 52d3b8d9e9e5a70e749afbbc5442d12cfdd3d09b Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 26 Jan 2024 16:31:22 +0000 Subject: [PATCH 2/4] Update get_context.yml Update 2nd ceckout too --- .github/workflows/get_context.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/get_context.yml b/.github/workflows/get_context.yml index cd289e6..7c322fb 100644 --- a/.github/workflows/get_context.yml +++ b/.github/workflows/get_context.yml @@ -32,7 +32,7 @@ jobs: run: ls -lR - run: python find_posts.py --lock-hours=0 --access-token=${{ secrets.ACCESS_TOKEN }} -c="./config.json" - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: artifacts path: | From 0416cc159ace91a7104100f4311d0dccc50aa4c7 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 26 Jan 2024 16:32:54 +0000 Subject: [PATCH 3/4] Update get_context.yml update correct line --- .github/workflows/get_context.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/get_context.yml b/.github/workflows/get_context.yml index 7c322fb..4fda779 100644 --- a/.github/workflows/get_context.yml +++ b/.github/workflows/get_context.yml @@ -32,12 +32,12 @@ jobs: run: ls -lR - run: python find_posts.py --lock-hours=0 --access-token=${{ secrets.ACCESS_TOKEN }} -c="./config.json" - name: Upload artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: artifacts path: | artifacts - name: Checkout user's forked repository for keeping workflow alive - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Keep workflow alive uses: gautamkrishnar/keepalive-workflow@v1 From fe1c69f3bafd7f299d0b87eb9fd91754275ef54d Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 30 Jan 2024 21:10:29 +0000 Subject: [PATCH 4/4] Update get_context.yml Update upload-artifact --- .github/workflows/get_context.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/get_context.yml b/.github/workflows/get_context.yml index 4fda779..2b66c05 100644 --- a/.github/workflows/get_context.yml +++ b/.github/workflows/get_context.yml @@ -32,7 +32,7 @@ jobs: run: ls -lR - run: python find_posts.py --lock-hours=0 --access-token=${{ secrets.ACCESS_TOKEN }} -c="./config.json" - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: artifacts path: |