Skip to content

Commit aee5898

Browse files
Move the branch filter back
1 parent 8f66b7a commit aee5898

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
- name: Install Bun
1818
uses: oven-sh/setup-bun@v2
1919

20+
- name: Drop history of auto-generated files (readme.md, prs.md issues.md)
21+
run: |
22+
FILTER_BRANCH_SQUELCH_WARNING=1 git filter-branch --force --index-filter "git rm --ignore-unmatch readme.md prs.md issues.md" --prune-empty HEAD
23+
2024
- name: Run the workflow script using the integration personal access token
2125
run: |
2226
bun install
@@ -71,10 +75,6 @@ jobs:
7175
# Commit the staged history-less changes to the workflow repository
7276
git commit -m "Generate the profile repository readme" -m "This commit was automatically generated via GitHub Actions"
7377
74-
- name: Drop history of auto-generated files (readme.md, prs.md issues.md)
75-
run: |
76-
FILTER_BRANCH_SQUELCH_WARNING=1 git filter-branch --force --index-filter "git rm --ignore-unmatch readme.md prs.md issues.md" --prune-empty HEAD
77-
7878
- name: Force push Git changes back to the workflow repository
7979
run: |
8080
set -e

0 commit comments

Comments
 (0)