Skip to content

Commit 68e5876

Browse files
feat: add Repomix GitHub Action workflow
Co-Authored-By: Kazuki Yamada <[email protected]>
1 parent 05d043d commit 68e5876

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/pack-repository.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Pack repository with Repomix
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ main ]
7+
pull_request:
8+
branches: [ main ]
9+
10+
jobs:
11+
pack-repo:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Pack repository with Repomix
18+
uses: yamadashy/repomix/.github/actions/repomix@main
19+
with:
20+
output: repomix-output.xml
21+
style: xml
22+
compress: true
23+
24+
- name: Upload Repomix output
25+
uses: actions/upload-artifact@v4
26+
with:
27+
name: repomix-output
28+
path: repomix-output.xml
29+
retention-days: 30

0 commit comments

Comments
 (0)