From ce56d5bd96fa0e42b6601ecc0075a9588e99b3e3 Mon Sep 17 00:00:00 2001 From: Timna Brown <24630902+brown9804@users.noreply.github.com> Date: Thu, 7 Aug 2025 12:34:16 -0600 Subject: [PATCH 1/4] counter --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d24b29..686e551 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Costa Rica [![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/) [brown9804](https://github.com/brown9804) -Last updated: 2025-07-16 +Last updated: 2025-08-07 ---------- @@ -18,6 +18,7 @@ Last updated: 2025-07-16
List of References (Click to expand) +- [Solution Accelerator for AI Document Processor (ADP)](https://github.com/azure/ai-document-processor) - AI Factory - [Use Azure AI services with SynapseML in Microsoft Fabric](https://learn.microsoft.com/en-us/fabric/data-science/how-to-use-ai-services-with-synapseml) - [Plan and manage costs for Azure AI Foundry](https://learn.microsoft.com/en-us/azure/ai-foundry/how-to/costs-plan-manage) - [Azure Cosmos DB - Database for the AI Era](https://learn.microsoft.com/en-us/azure/cosmos-db/introduction) From 0aded665acac207a863b05eb525acee216e8811e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 7 Aug 2025 18:35:49 +0000 Subject: [PATCH 2/4] Update visitor count --- README.md | 4 ++-- terraform-infrastructure/README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 686e551..4fae331 100644 --- a/README.md +++ b/README.md @@ -734,7 +734,7 @@ If you need further assistance with the code, please click [here to view all the
- Total views -

Refresh Date: 2025-07-16

+ Total views +

Refresh Date: 2025-08-07

diff --git a/terraform-infrastructure/README.md b/terraform-infrastructure/README.md index 4c6b7e9..f258718 100644 --- a/terraform-infrastructure/README.md +++ b/terraform-infrastructure/README.md @@ -109,7 +109,7 @@ graph TD;
- Total views -

Refresh Date: 2025-07-16

+ Total views +

Refresh Date: 2025-08-07

From 32d3dd61a140ad6824609bb4a6c1d560b8dedf91 Mon Sep 17 00:00:00 2001 From: Timna Brown <24630902+brown9804@users.noreply.github.com> Date: Thu, 7 Aug 2025 12:37:16 -0600 Subject: [PATCH 3/4] pull first --- .github/workflows/use-visitor-counter.yml | 28 ++++++++--------------- 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/.github/workflows/use-visitor-counter.yml b/.github/workflows/use-visitor-counter.yml index 4aa2c96..b865948 100644 --- a/.github/workflows/use-visitor-counter.yml +++ b/.github/workflows/use-visitor-counter.yml @@ -57,38 +57,30 @@ jobs: git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com" + # Commit and push logic for PR events (merge, not rebase) - name: Commit and push changes (PR) if: github.event_name == 'pull_request' env: TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git fetch origin - git checkout -b ${{ github.event.pull_request.head.ref }} origin/${{ github.event.pull_request.head.ref }} - git add "*.md" metrics.json + git checkout ${{ github.head_ref }} + git pull origin ${{ github.head_ref }} || echo "No merge needed" + git add -A git commit -m "Update visitor count" || echo "No changes to commit" git remote set-url origin https://x-access-token:${TOKEN}@github.com/${{ github.repository }} - git pull --rebase origin ${{ github.event.pull_request.head.ref }} || echo "No rebase needed" - git push origin HEAD:${{ github.event.pull_request.head.ref }} + git push origin HEAD:${{ github.head_ref }} + # Commit and push logic for non-PR events (merge, not rebase) - name: Commit and push changes (non-PR) if: github.event_name != 'pull_request' env: TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git fetch origin - git checkout ${{ github.event.pull_request.head.ref }} || git checkout -b ${{ github.event.pull_request.head.ref }} origin/${{ github.event.pull_request.head.ref }} - git add "*.md" metrics.json + git checkout ${{ github.ref_name }} || git checkout -b ${{ github.ref_name }} origin/${{ github.ref_name }} + git pull origin ${{ github.ref_name }} || echo "No merge needed" + git add -A git commit -m "Update visitor count" || echo "No changes to commit" git remote set-url origin https://x-access-token:${TOKEN}@github.com/${{ github.repository }} - git pull --rebase origin ${{ github.event.pull_request.head.ref }} || echo "No rebase needed" - git push origin HEAD:${{ github.event.pull_request.head.ref }} - - - name: Create Pull Request (non-PR) - if: github.event_name != 'pull_request' - uses: peter-evans/create-pull-request@v6 - with: - token: ${{ secrets.GITHUB_TOKEN }} - branch: update-visitor-count - title: "Update visitor count" - body: "Automated update of visitor count" - base: main + git push origin HEAD:${{ github.ref_name }} From 8dcb29ab8e1178f11a5bf726143641255c5b9887 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 7 Aug 2025 18:37:29 +0000 Subject: [PATCH 4/4] Update last modified date in Markdown files --- terraform-infrastructure/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform-infrastructure/README.md b/terraform-infrastructure/README.md index f258718..156f33c 100644 --- a/terraform-infrastructure/README.md +++ b/terraform-infrastructure/README.md @@ -5,7 +5,7 @@ Costa Rica [![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/) [brown9804](https://github.com/brown9804) -Last updated: 2025-07-16 +Last updated: 2025-08-07 ----------