You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-t "Showcase Version Mismatch: librarian.yaml and pom.xml out of sync" \
81
+
-b "The Showcase version in java-showcase/gapic-showcase/pom.xml and the commit in librarian.yaml do not match. Please update them to match. See logs: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
72
82
73
-
- name: Create issue on failure
74
-
if: failure()
83
+
- name: Create issue on workflow failure
84
+
if: failure() && env.MISMATCH != 'true'
75
85
env:
76
86
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77
87
run: |
78
88
gh issue create \
79
89
-R "${{ github.repository }}" \
80
-
-t "Showcase Version Check Failure" \
81
-
-b "The Showcase Version Check workflow has failed. Please check the logs at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} for details."
90
+
-t "Showcase Version Check Workflow Failure" \
91
+
-b "The Showcase Version Check workflow has failed due to an unexpected execution error. Please check the logs at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} for details."
0 commit comments