Don't open issue on re-runs (#7186)
to avoid confusions like https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7181#issuecomment-1315828235
This commit is contained in:
parent
f827399801
commit
1e6fb0088a
|
@ -31,5 +31,5 @@ jobs:
|
|||
needs:
|
||||
- common
|
||||
- test-latest-deps
|
||||
if: failure()
|
||||
if: failure() && github.run_attempt == 1
|
||||
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
|
||||
|
|
|
@ -40,5 +40,5 @@ jobs:
|
|||
- muzzle
|
||||
- markdown-link-check
|
||||
- misspell-check
|
||||
if: failure()
|
||||
if: failure() && github.run_attempt == 1
|
||||
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
|
||||
|
|
|
@ -35,5 +35,5 @@ jobs:
|
|||
# open an issue on failure because it can be easy to miss CI failure notifications
|
||||
needs:
|
||||
- analyze
|
||||
if: failure()
|
||||
if: failure() && github.run_attempt == 1
|
||||
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
|
||||
|
|
|
@ -48,5 +48,5 @@ jobs:
|
|||
open-issue-on-failure:
|
||||
needs:
|
||||
- run-overhead-tests
|
||||
if: failure()
|
||||
if: failure() && github.run_attempt == 1
|
||||
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
|
||||
|
|
|
@ -72,5 +72,5 @@ jobs:
|
|||
needs:
|
||||
- publishLinux
|
||||
- publishWindows
|
||||
if: failure()
|
||||
if: failure() && github.run_attempt == 1
|
||||
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
|
||||
|
|
|
@ -19,5 +19,5 @@ jobs:
|
|||
open-issue-on-failure:
|
||||
needs:
|
||||
- publish
|
||||
if: failure()
|
||||
if: failure() && github.run_attempt == 1
|
||||
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
|
||||
|
|
|
@ -23,5 +23,5 @@ jobs:
|
|||
open-issue-on-failure:
|
||||
needs:
|
||||
- publish
|
||||
if: failure()
|
||||
if: failure() && github.run_attempt == 1
|
||||
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
|
||||
|
|
|
@ -21,5 +21,5 @@ jobs:
|
|||
open-issue-on-failure:
|
||||
needs:
|
||||
- publish
|
||||
if: failure()
|
||||
if: failure() && github.run_attempt == 1
|
||||
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
|
||||
|
|
|
@ -72,5 +72,5 @@ jobs:
|
|||
open-issue-on-failure:
|
||||
needs:
|
||||
- publish
|
||||
if: failure()
|
||||
if: failure() && github.run_attempt == 1
|
||||
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
|
||||
|
|
|
@ -19,5 +19,5 @@ jobs:
|
|||
open-issue-on-failure:
|
||||
needs:
|
||||
- publish
|
||||
if: failure()
|
||||
if: failure() && github.run_attempt == 1
|
||||
uses: ./.github/workflows/reusable-open-issue-on-failure.yml
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
name: Reusable - Open issue on failure
|
||||
name: Reusable - Open issue on workflow failure
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
|
Loading…
Reference in New Issue