-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
32 lines (27 loc) · 749 Bytes
/
pack-repository.yml
File metadata and controls
32 lines (27 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Pack repository with Repomix
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
pack-repo:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Pack repository with Repomix
uses: ./.github/actions/repomix
with:
output: repomix-output.xml
- name: Upload Repomix output
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: repomix-output.xml
path: repomix-output.xml
retention-days: 30