From 0e28d2cf36bbbc10c1473fd101288cbf14a68c33 Mon Sep 17 00:00:00 2001 From: Wei-Ting Chen Date: Mon, 19 Aug 2024 12:05:33 +0800 Subject: [PATCH] [GLUTEN-6915][MISC]Fix workflow permission issue. (#6911) --- .github/workflows/dev_cron.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dev_cron.yml b/.github/workflows/dev_cron.yml index 48ca21510fd9..193549cc077d 100644 --- a/.github/workflows/dev_cron.yml +++ b/.github/workflows/dev_cron.yml @@ -27,15 +27,16 @@ jobs: process: name: Process runs-on: ubuntu-latest + permissions: write-all steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Comment Issues link if: | github.event_name == 'pull_request_target' && (github.event.action == 'opened' || github.event.action == 'edited') - uses: actions/github-script@v3 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -47,7 +48,7 @@ jobs: github.event_name == 'pull_request_target' && (github.event.action == 'opened' || github.event.action == 'edited') - uses: actions/github-script@v3 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: |