Skip to content

Commit c566c4d

Browse files
committed
health-check: grant issues:write and bump actions/github-script to v7
1 parent 6617917 commit c566c4d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/health-check.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
jobs:
88
health-check:
99
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
1012

1113
steps:
1214
- name: Check Production Environment
@@ -43,7 +45,7 @@ jobs:
4345
4446
- name: Create Issue on Failure
4547
if: env.PROD_DOWN == 'true' || env.DEV_DOWN == 'true'
46-
uses: actions/github-script@v6
48+
uses: actions/github-script@v7
4749
with:
4850
github-token: ${{ secrets.GITHUB_TOKEN }}
4951
script: |

0 commit comments

Comments
 (0)