diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml new file mode 100644 index 00000000000..7bb5ac65140 --- /dev/null +++ b/.github/workflows/debug.yml @@ -0,0 +1,11 @@ +# The CI for each commit, prints envs and content of GITHUB_EVENT_PATH +name: Debug + +'on': + [push, pull_request, release] + +jobs: + DebugInfo: + runs-on: ubuntu-latest + steps: + - uses: hmarr/debug-action@1201a20fc9d278ddddd5f0f46922d06513892491 diff --git a/tests/ci/pr_info.py b/tests/ci/pr_info.py index 1a6ed5645de..378804874aa 100644 --- a/tests/ci/pr_info.py +++ b/tests/ci/pr_info.py @@ -159,6 +159,7 @@ class PRInfo: f"compare/{github_event['before']}...{self.sha}" ) else: + self.number = pull_request["number"] self.labels = {label["name"] for label in pull_request["labels"]} self.base_ref = pull_request["base"]["ref"]