зеркало из https://github.com/community/community.git
Upgrade github-script Action to v7
This commit is contained in:
Родитель
dda9869d74
Коммит
ee032ac021
|
@ -34,7 +34,7 @@ jobs:
|
|||
|
||||
- name: Get selected topic
|
||||
id: get_selected_topic
|
||||
uses: actions/github-script@v6
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
result-encoding: string
|
||||
script: |
|
||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
steps:
|
||||
- name: Check if employee
|
||||
id: check_employee
|
||||
uses: actions/github-script@v6
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
github-token: ${{ secrets.READ_GITHUB_ORG_MEMBERS_TOKEN }}
|
||||
result-encoding: string
|
||||
|
@ -36,7 +36,7 @@ jobs:
|
|||
- name: Close PR
|
||||
id: close_pr
|
||||
if: ${{ steps.check_employee.outputs.result == 'false' }}
|
||||
uses: actions/github-script@v6
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
|
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
|
||||
- name: Get selected topic
|
||||
id: get_selected_topic
|
||||
uses: actions/github-script@v6
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
result-encoding: string
|
||||
script: |
|
||||
|
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
|
||||
- name: Get selected topic
|
||||
id: get_selected_topic
|
||||
uses: actions/github-script@v6
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
result-encoding: string
|
||||
script: |
|
||||
|
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
steps:
|
||||
- name: Check if employee
|
||||
id: check_employee
|
||||
uses: actions/github-script@v6
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
github-token: ${{ secrets.READ_GITHUB_ORG_MEMBERS_TOKEN }}
|
||||
result-encoding: string
|
||||
|
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
steps:
|
||||
- name: Check if employee
|
||||
id: check_employee
|
||||
uses: actions/github-script@v6
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
github-token: ${{ secrets.READ_GITHUB_ORG_MEMBERS_TOKEN }}
|
||||
result-encoding: string
|
||||
|
|
Загрузка…
Ссылка в новой задаче