Skip to content
Merged
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
10 changes: 9 additions & 1 deletion .github/workflows/branding.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -103,12 +103,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
fetch-depth: 2

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Fetch latest changes
run: |
git checkout ${{ github.ref_name }}
git pull origin ${{ github.ref_name }}

- name: Update Metrics Snapshot
run: |
mkdir -p .github/metrics
Expand DownExpand Up@@ -139,5 +147,5 @@ jobs:
git add .github/metrics/branding.json .github/metrics/branding-log.md
if ! git diff --cached --quiet; then
git commit -m "chore(branding): update metrics snapshot [skip ci]"
git push
git push origin ${{ github.ref_name }}
fi
Loading