This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch v4
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git


The following commit(s) were added to refs/heads/v4 by this push:
     new f28a770  Dump GitHub context on PR Automation re-run
f28a770 is described below

commit f28a770759f72ac7b26b7ee0579e1db991f8cd2f
Author: Slawomir Jaranowski <s.jaranow...@gmail.com>
AuthorDate: Tue May 13 22:28:04 2025 +0200

    Dump GitHub context on PR Automation re-run
---
 .github/workflows/pr-automation.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/.github/workflows/pr-automation.yml 
b/.github/workflows/pr-automation.yml
index 6b25c09..2797c0f 100644
--- a/.github/workflows/pr-automation.yml
+++ b/.github/workflows/pr-automation.yml
@@ -34,6 +34,18 @@ concurrency:
 permissions: {}
 
 jobs:
+  # dump GitHub context only when the workflow is re runed,
+  # can help investigate problems
+  dump-github-context:
+    runs-on: ubuntu-latest
+    if: github.run_attempt > 1
+
+    steps:
+      - run: echo "ok"
+        env:
+          GITHUB_CONTEXT: ${{ toJson(github) }}
+        shell: bash
+
   # check PR milestone - if not set - update with current opened milestone
   milestone:
     permissions:

Reply via email to