Skip to content

Conversation

malice00
Copy link
Collaborator

@malice00 malice00 commented Jun 5, 2025

Added a step to 'build-images.yml' and 'build-rolling-image.yml' to retry up to 2 times on failures.

…obs. Added

a step to 'build-images.yml' and 'build-rolling-image.yml' to retry up to 2
times on failures.

Signed-off-by: Roland Asmann <roland.asmann@gmail.com>
@malice00 malice00 requested a review from prabhu as a code owner June 5, 2025 20:23
@malice00 malice00 merged commit 4fcdf9b into master Jun 5, 2025
23 of 57 checks passed
@malice00 malice00 deleted the retry_failed_workflows branch June 5, 2025 20:24
Comment on lines +216 to +223
needs: images
if: failure() && fromJSON(github.run_attempt) < 3
runs-on: ubuntu-latest
steps:
- run: gh workflow run rerun-workflow.yml -F run_id=${{ github.run_id }}
env:
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Comment on lines +48 to +55
needs: image
if: failure() && fromJSON(github.run_attempt) < 3
runs-on: ubuntu-latest
steps:
- run: gh workflow run rerun-workflow.yml -F run_id=${{ github.run_id }}
env:
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant