Skip to content

Commit fb9ab78

Browse files
committed
Archive github event data
1 parent 7149d81 commit fb9ab78

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/event-processor.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ jobs:
9595
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9696
LABEL_SERVICE_API_KEY: ${{ env.LABEL_SERVICE_API_KEY }}
9797

98+
- name: Archive github event data
99+
uses: actions/upload-artifact@v4
100+
if: always()
101+
with:
102+
name: event
103+
path: $GITHUB_EVENT_PATH
104+
98105
event-handler:
99106
permissions:
100107
issues: write
@@ -146,3 +153,11 @@ jobs:
146153
# This is a temporary secret generated by github
147154
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
148155
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
156+
157+
- name: Archive github event data
158+
uses: actions/upload-artifact@v4
159+
if: always()
160+
with:
161+
name: event
162+
path: $GITHUB_EVENT_PATH
163+

.github/workflows/scheduled-event-processor.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,11 @@ jobs:
121121
shell: bash
122122
env:
123123
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
124+
125+
- name: Archive github event data
126+
uses: actions/upload-artifact@v4
127+
if: always()
128+
with:
129+
name: event
130+
path: $GITHUB_EVENT_PATH
131+

0 commit comments

Comments
 (0)