From fe81cfe66ce8f80419e1399bc18832abf03713a5 Mon Sep 17 00:00:00 2001 From: tom Date: Mon, 5 Feb 2024 11:42:52 +0400 Subject: [PATCH] [skip ci] update actions/github-script workflow version --- .github/workflows/label-issues-in-release.yml | 10 +++++----- .github/workflows/pre-release.yml | 2 +- .github/workflows/project-management.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/update-project-cards.yml | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/label-issues-in-release.yml b/.github/workflows/label-issues-in-release.yml index 4bc9861b0d..b95fd45616 100644 --- a/.github/workflows/label-issues-in-release.yml +++ b/.github/workflows/label-issues-in-release.yml @@ -59,7 +59,7 @@ jobs: steps: - name: Getting tags of the two latestest releases id: tags - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: TAG: ${{ inputs.tag }} with: @@ -108,7 +108,7 @@ jobs: - name: Looking for commits between two releases id: commits - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: PREVIOUS_TAG: ${{ steps.tags.outputs.previous }} LATEST_TAG: ${{ steps.tags.outputs.latest }} @@ -137,7 +137,7 @@ jobs: - name: Looking for issues linked to commits id: linked_issues - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: COMMITS: ${{ steps.commits.outputs.result }} with: @@ -225,7 +225,7 @@ jobs: - name: Creating label id: label_creating - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: LABEL_NAME: ${{ inputs.label_name }} LABEL_COLOR: ${{ inputs.label_color }} @@ -253,7 +253,7 @@ jobs: - name: Adding label to issues id: labeling_issues - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: LABEL_NAME: ${{ inputs.label_name }} ISSUES: ${{ steps.linked_issues.outputs.result }} diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index e0cb8684b8..c45cb9249d 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -32,7 +32,7 @@ jobs: steps: - name: Determine if it is the initial version of the pre-release id: is_initial - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: TAG: ${{ github.ref_name }} with: diff --git a/.github/workflows/project-management.yml b/.github/workflows/project-management.yml index 791515b07d..ce53245267 100644 --- a/.github/workflows/project-management.yml +++ b/.github/workflows/project-management.yml @@ -37,7 +37,7 @@ jobs: steps: - name: Fetching issues linked to pull request id: linked_issues - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }} with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c3ca89391e..fb0c863799 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Remove label id: tags - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: LABEL_NAME: pre-release with: diff --git a/.github/workflows/update-project-cards.yml b/.github/workflows/update-project-cards.yml index 98ffbed2bb..b071ba61da 100644 --- a/.github/workflows/update-project-cards.yml +++ b/.github/workflows/update-project-cards.yml @@ -48,7 +48,7 @@ jobs: steps: - name: Getting project info id: project_info - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: PROJECT_NAME: ${{ inputs.project_name }} FIELD_NAME: ${{ inputs.field_name }} @@ -131,7 +131,7 @@ jobs: - name: Getting project items that linked to the issues id: items - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: ISSUES: ${{ inputs.issues }} with: @@ -193,7 +193,7 @@ jobs: - name: Updating field value of the project items id: updating_items - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: ITEMS: ${{ steps.items.outputs.result }} PROJECT_ID: ${{ steps.project_info.outputs.id }}