@@ -69,55 +69,62 @@ jobs:
6969 - name : Close Stale Issues Scheduled Event
7070 if : github.event.schedule == '0 1 * * *'
7171 run : |
72- github-event-processor ${{ github.event_name }} $GITHUB_EVENT_PATH CloseStaleIssues
72+ github-event-processor ${{ github.event_name }} ${{ github.event_path }} CloseStaleIssues
7373 shell : bash
7474 env :
7575 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7676
7777 - name : Identify Stale PullRequests Scheduled Event
7878 if : github.event.schedule == '0 5 * * FRI'
7979 run : |
80- github-event-processor ${{ github.event_name }} $GITHUB_EVENT_PATH IdentifyStalePullRequests
80+ github-event-processor ${{ github.event_name }} ${{ github.event_path }} IdentifyStalePullRequests
8181 shell : bash
8282 env :
8383 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8484
8585 - name : Close Stale PullRequests Scheduled Event
8686 if : github.event.schedule == '30 2,8,14,20 * * *'
8787 run : |
88- github-event-processor ${{ github.event_name }} $GITHUB_EVENT_PATH CloseStalePullRequests
88+ github-event-processor ${{ github.event_name }} ${{ github.event_path }} CloseStalePullRequests
8989 shell : bash
9090 env :
9191 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9292
9393 - name : Identify Stale Issues Scheduled Event
9494 if : github.event.schedule == '30 3,9,15,21 * * *'
9595 run : |
96- github-event-processor ${{ github.event_name }} $GITHUB_EVENT_PATH IdentifyStaleIssues
96+ github-event-processor ${{ github.event_name }} ${{ github.event_path }} IdentifyStaleIssues
9797 shell : bash
9898 env :
9999 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
100100
101101 - name : Close Addressed Issues Scheduled Event
102102 if : github.event.schedule == '30 4,10,16,22 * * *'
103103 run : |
104- github-event-processor ${{ github.event_name }} $GITHUB_EVENT_PATH
104+ github-event-processor ${{ github.event_name }} ${{ github.event_path }}
105105 shell : bash
106106 env :
107107 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
108108
109109 - name : Lock Closed Issues Scheduled Event
110110 if : github.event.schedule == '30 5,11,17,23 * * *'
111111 run : |
112- github-event-processor ${{ github.event_name }} $GITHUB_EVENT_PATH LockClosedIssues
112+ github-event-processor ${{ github.event_name }} ${{ github.event_path }} LockClosedIssues
113113 shell : bash
114114 env :
115115 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
116116
117117 - name : Enforce Max Life of Issues Scheduled Event
118118 if : github.event.schedule == '0 18 * * 1,3,5'
119119 run : |
120- github-event-processor ${{ github.event_name }} $GITHUB_EVENT_PATH EnforceMaxLifeOfIssues
120+ github-event-processor ${{ github.event_name }} ${{ github.event_path }} EnforceMaxLifeOfIssues
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 }}
0 commit comments