This is an automated email from the ASF dual-hosted git repository. meonkeys pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/fineract-chat-archive.git
commit ad2f731ff0edfcd3d6d38298deeb24246ee1b79a Author: Adam Monsen <[email protected]> AuthorDate: Wed Feb 11 09:38:37 2026 -0800 fix: preserve archive state in workflow Adam edit: move download below checkout, otherwise it seems the checkout removes docs/ and state/ Collab with: Aira Jena <[email protected]>, originally in the Mifos Chat Archive repo. See: https://github.com/mifos/chat-archive/commit/e8cf27126f34babedf4b9324c4fddef19d1042e0 --- update-archive.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/update-archive.yml b/update-archive.yml index b74841e..4cd390d 100644 --- a/update-archive.yml +++ b/update-archive.yml @@ -25,6 +25,7 @@ on: jobs: load: + # load docs/ and state/ from this repo to pass along to update job name: Load state runs-on: ubuntu-slim timeout-minutes: 1 @@ -44,14 +45,14 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 2 steps: - - uses: actions/download-artifact@v7 - with: - name: current-state - - uses: actions/checkout@v6 with: repository: 'apache/fineract-chat-archive' + - uses: actions/download-artifact@v7 + with: + name: current-state + - uses: actions/setup-java@v5 with: distribution: 'zulu' @@ -60,7 +61,9 @@ jobs: - name: Fetch messages env: SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }} - run: ./gradlew updateChatArchive + CHANNELS_ALLOWLIST: '#general,#random' + LOOKBACK_DAYS: 1 + run: ./gradlew --quiet updateChatArchive - uses: actions/upload-artifact@v6 with: @@ -70,6 +73,7 @@ jobs: name: new-state save: + # commit any changes to docs/ and state/ name: Save state needs: update runs-on: ubuntu-slim
