Commit fe81cfe6 authored by tom's avatar tom

[skip ci] update actions/github-script workflow version

parent 20863784
...@@ -59,7 +59,7 @@ jobs: ...@@ -59,7 +59,7 @@ jobs:
steps: steps:
- name: Getting tags of the two latestest releases - name: Getting tags of the two latestest releases
id: tags id: tags
uses: actions/github-script@v6 uses: actions/github-script@v7
env: env:
TAG: ${{ inputs.tag }} TAG: ${{ inputs.tag }}
with: with:
...@@ -108,7 +108,7 @@ jobs: ...@@ -108,7 +108,7 @@ jobs:
- name: Looking for commits between two releases - name: Looking for commits between two releases
id: commits id: commits
uses: actions/github-script@v6 uses: actions/github-script@v7
env: env:
PREVIOUS_TAG: ${{ steps.tags.outputs.previous }} PREVIOUS_TAG: ${{ steps.tags.outputs.previous }}
LATEST_TAG: ${{ steps.tags.outputs.latest }} LATEST_TAG: ${{ steps.tags.outputs.latest }}
...@@ -137,7 +137,7 @@ jobs: ...@@ -137,7 +137,7 @@ jobs:
- name: Looking for issues linked to commits - name: Looking for issues linked to commits
id: linked_issues id: linked_issues
uses: actions/github-script@v6 uses: actions/github-script@v7
env: env:
COMMITS: ${{ steps.commits.outputs.result }} COMMITS: ${{ steps.commits.outputs.result }}
with: with:
...@@ -225,7 +225,7 @@ jobs: ...@@ -225,7 +225,7 @@ jobs:
- name: Creating label - name: Creating label
id: label_creating id: label_creating
uses: actions/github-script@v6 uses: actions/github-script@v7
env: env:
LABEL_NAME: ${{ inputs.label_name }} LABEL_NAME: ${{ inputs.label_name }}
LABEL_COLOR: ${{ inputs.label_color }} LABEL_COLOR: ${{ inputs.label_color }}
...@@ -253,7 +253,7 @@ jobs: ...@@ -253,7 +253,7 @@ jobs:
- name: Adding label to issues - name: Adding label to issues
id: labeling_issues id: labeling_issues
uses: actions/github-script@v6 uses: actions/github-script@v7
env: env:
LABEL_NAME: ${{ inputs.label_name }} LABEL_NAME: ${{ inputs.label_name }}
ISSUES: ${{ steps.linked_issues.outputs.result }} ISSUES: ${{ steps.linked_issues.outputs.result }}
......
...@@ -32,7 +32,7 @@ jobs: ...@@ -32,7 +32,7 @@ jobs:
steps: steps:
- name: Determine if it is the initial version of the pre-release - name: Determine if it is the initial version of the pre-release
id: is_initial id: is_initial
uses: actions/github-script@v6 uses: actions/github-script@v7
env: env:
TAG: ${{ github.ref_name }} TAG: ${{ github.ref_name }}
with: with:
......
...@@ -37,7 +37,7 @@ jobs: ...@@ -37,7 +37,7 @@ jobs:
steps: steps:
- name: Fetching issues linked to pull request - name: Fetching issues linked to pull request
id: linked_issues id: linked_issues
uses: actions/github-script@v6 uses: actions/github-script@v7
env: env:
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }} PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
with: with:
......
...@@ -12,7 +12,7 @@ jobs: ...@@ -12,7 +12,7 @@ jobs:
steps: steps:
- name: Remove label - name: Remove label
id: tags id: tags
uses: actions/github-script@v6 uses: actions/github-script@v7
env: env:
LABEL_NAME: pre-release LABEL_NAME: pre-release
with: with:
......
...@@ -48,7 +48,7 @@ jobs: ...@@ -48,7 +48,7 @@ jobs:
steps: steps:
- name: Getting project info - name: Getting project info
id: project_info id: project_info
uses: actions/github-script@v6 uses: actions/github-script@v7
env: env:
PROJECT_NAME: ${{ inputs.project_name }} PROJECT_NAME: ${{ inputs.project_name }}
FIELD_NAME: ${{ inputs.field_name }} FIELD_NAME: ${{ inputs.field_name }}
...@@ -131,7 +131,7 @@ jobs: ...@@ -131,7 +131,7 @@ jobs:
- name: Getting project items that linked to the issues - name: Getting project items that linked to the issues
id: items id: items
uses: actions/github-script@v6 uses: actions/github-script@v7
env: env:
ISSUES: ${{ inputs.issues }} ISSUES: ${{ inputs.issues }}
with: with:
...@@ -193,7 +193,7 @@ jobs: ...@@ -193,7 +193,7 @@ jobs:
- name: Updating field value of the project items - name: Updating field value of the project items
id: updating_items id: updating_items
uses: actions/github-script@v6 uses: actions/github-script@v7
env: env:
ITEMS: ${{ steps.items.outputs.result }} ITEMS: ${{ steps.items.outputs.result }}
PROJECT_ID: ${{ steps.project_info.outputs.id }} PROJECT_ID: ${{ steps.project_info.outputs.id }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment