Skip to content

Commit 94cd99a

Browse files
Add workflow retry to fix Resource not accessible by integration error (#9237)
1 parent 4fde84f commit 94cd99a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/add-milestone-to-pull-requests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
- name: Add milestone to merged pull requests
1818
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # 7.0.1
1919
with:
20+
retries: 3
21+
retry-exempt-status-codes: 400,401
2022
script: |
2123
// Get project milestones
2224
const response = await github.rest.issues.listMilestones({

0 commit comments

Comments
 (0)