Skip to content

Commit d22bb92

Browse files
committed
Revert "[CI] Remove the "upload event payload" step."
This reverts commit 445de95. This seems to prevent the display of error logs in the web interface.
1 parent a0c768f commit d22bb92

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/root-ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,3 +583,19 @@ jobs:
583583
- name: ccache info (post)
584584
run: |
585585
ccache -s || true
586+
587+
event_file:
588+
# For any event that is not a PR, the CI will always run. In PRs, the CI
589+
# can be skipped if the tag [skip-ci] or [skip ci] is written in the title.
590+
if: |
591+
(github.repository_owner == 'root-project' && github.event_name != 'pull_request') ||
592+
(github.event_name == 'pull_request' && !(contains(github.event.pull_request.title, '[skip-ci]') || contains(github.event.pull_request.title, '[skip ci]')))
593+
594+
name: "Upload Event Payload"
595+
runs-on: ubuntu-latest
596+
steps:
597+
- name: Upload
598+
uses: actions/upload-artifact@v4
599+
with:
600+
name: Event File
601+
path: ${{ github.event_path }}

0 commit comments

Comments
 (0)