Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/update-md-date.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
- name: Checkout PR branch
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}

- name: Set up Python
uses: actions/setup-python@v4
Expand All @@ -35,13 +36,13 @@ jobs:
- name: Update last modified date in Markdown files
run: python .github/workflows/update_date.py

- name: Commit changes
- name: Pull (merge) remote changes, commit, and push if needed
env:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git fetch origin ${{ github.event.pull_request.head.ref }}
git pull --rebase origin ${{ github.event.pull_request.head.ref }} || echo "No rebase needed"
BRANCH="${{ github.event.pull_request.head.ref }}"
git pull origin "$BRANCH" || echo "No merge needed"
git add -A
git commit -m "Update last modified date in Markdown files" || echo "No changes to commit"
git remote set-url origin https://x-access-token:${TOKEN}@github.com/${{ github.repository }}
git push origin HEAD:${{ github.event.pull_request.head.ref }}
git push origin HEAD:"$BRANCH"
24 changes: 8 additions & 16 deletions .github/workflows/use-visitor-counter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,40 +57,32 @@ 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
# 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 ${{ github.head_ref }}
git add "*.md" metrics.json
git pull origin ${{ github.head_ref }} || echo "No merge needed"
git add "*.md" || true
[ -f metrics.json ] && git add metrics.json || true
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.head_ref }} || echo "No rebase needed"
git push origin HEAD:${{ github.head_ref }}

# Commit and push logic for non-PR events (schedule, workflow_dispatch)
# 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.ref_name }} || git checkout -b ${{ github.ref_name }} origin/${{ github.ref_name }}
git add "*.md" metrics.json
git pull origin ${{ github.ref_name }} || echo "No merge needed"
git add "*.md" || true
[ -f metrics.json ] && git add metrics.json || true
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.ref_name }} || echo "No rebase needed"
git push origin HEAD:${{ github.ref_name }}

- 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
8 changes: 5 additions & 3 deletions 0_Azure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-04-08
Last updated: 2025-07-17

------------------------------------------

Expand Down Expand Up @@ -126,7 +126,9 @@ Last updated: 2025-04-08
<img width="800" alt="image" src="https://github.com/brown9804/MSCloudEssentials_LPath/assets/24630902/cf68fbc7-20e7-4e62-8202-393584f058e9">


<!-- START BADGE -->
<div align="center">
<h3 style="color: #4CAF50;">Total Visitors</h3>
<img src="https://profile-counter.glitch.me/brown9804/count.svg" alt="Visitor Count" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px;"/>
<img src="https://img.shields.io/badge/Total%20views-230-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-17</p>
</div>
<!-- END BADGE -->
4 changes: 2 additions & 2 deletions 1_MS365/Excel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Last updated: 2025-07-17

<!-- START BADGE -->
<div align="center">
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
<img src="https://img.shields.io/badge/Total%20views-230-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-17</p>
</div>
<!-- END BADGE -->
4 changes: 2 additions & 2 deletions 1_MS365/Forms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Last updated: 2025-07-17

<!-- START BADGE -->
<div align="center">
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
<img src="https://img.shields.io/badge/Total%20views-230-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-17</p>
</div>
<!-- END BADGE -->
4 changes: 2 additions & 2 deletions 1_MS365/Planner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Last updated: 2025-07-17

<!-- START BADGE -->
<div align="center">
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
<img src="https://img.shields.io/badge/Total%20views-230-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-17</p>
</div>
<!-- END BADGE -->
4 changes: 2 additions & 2 deletions 1_MS365/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Last updated: 2025-07-17

<!-- START BADGE -->
<div align="center">
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
<img src="https://img.shields.io/badge/Total%20views-230-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-17</p>
</div>
<!-- END BADGE -->
4 changes: 2 additions & 2 deletions 1_MS365/SharePoint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ Last updated: 2025-07-17

<!-- START BADGE -->
<div align="center">
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
<img src="https://img.shields.io/badge/Total%20views-230-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-17</p>
</div>
<!-- END BADGE -->

4 changes: 2 additions & 2 deletions 2_Dynamics365/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Last updated: 2025-07-17

<!-- START BADGE -->
<div align="center">
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
<img src="https://img.shields.io/badge/Total%20views-230-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-17</p>
</div>
<!-- END BADGE -->
4 changes: 2 additions & 2 deletions 3_PowerPlatform/0_PowerApps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ formatDateTime(utcNow(), 'MM-dd-yyyy')

<!-- START BADGE -->
<div align="center">
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
<img src="https://img.shields.io/badge/Total%20views-230-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-17</p>
</div>
<!-- END BADGE -->
4 changes: 2 additions & 2 deletions 3_PowerPlatform/1_PowerBI/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Last updated: 2025-07-17

<!-- START BADGE -->
<div align="center">
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
<img src="https://img.shields.io/badge/Total%20views-230-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-17</p>
</div>
<!-- END BADGE -->
4 changes: 2 additions & 2 deletions 3_PowerPlatform/2_CopilotStudio/0_DesignCustomCopilots.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ Last updated: 2025-07-17

<!-- START BADGE -->
<div align="center">
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
<img src="https://img.shields.io/badge/Total%20views-230-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-17</p>
</div>
<!-- END BADGE -->
4 changes: 2 additions & 2 deletions 3_PowerPlatform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Explore more on the [Microsoft Power Platform website](https://www.microsoft.com

<!-- START BADGE -->
<div align="center">
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
<img src="https://img.shields.io/badge/Total%20views-230-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-17</p>
</div>
<!-- END BADGE -->
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Last updated: 2025-07-17

<!-- START BADGE -->
<div align="center">
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
<img src="https://img.shields.io/badge/Total%20views-230-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-17</p>
</div>
<!-- END BADGE -->
37 changes: 37 additions & 0 deletions metrics.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[
{
"date": "2025-07-07",
"count": 330,
"uniques": 20
},
{
"date": "2025-07-08",
"count": 159,
"uniques": 6
},
{
"date": "2025-07-10",
"count": 482,
"uniques": 1
},
{
"date": "2025-07-11",
"count": 170,
"uniques": 4
},
{
"date": "2025-07-12",
"count": 7,
"uniques": 1
},
{
"date": "2025-07-14",
"count": 130,
"uniques": 2
},
{
"date": "2025-07-15",
"count": 2,
"uniques": 1
}
]