Skip to content

Commit

Permalink
Increase sleep timer and prevent issue cleanup if matrix fails
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeutin-ledger committed Nov 9, 2023
1 parent 2fff216 commit 4a9fd13
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pr_on_all_plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ jobs:
- name: Create pull request and commment on SDK issue
run: |
# Github limits the number of possible PR being opened in a given time window.
# As suggested in the Github documentation, put a 1 second sleep between each POST call
sleep ${{ strategy.job-index }}
# As suggested in the Github documentation, put a 3 seconds sleep between each POST call
sleep $((3 * ${{ strategy.job-index }}))
# Create the PR with a placeholder body. Will be consolidated at a later step
pr_url=$(gh pr create \
--base 'develop' \
Expand All @@ -165,7 +165,6 @@ jobs:
name: Clean SDK update summary issue
runs-on: ubuntu-latest
needs: [get-sdk-ref, open-issue, open-prs]
if: success() || failure()
env:
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
steps:
Expand Down

0 comments on commit 4a9fd13

Please sign in to comment.