Update actions dependency actions/github-script
This commit is contained in:
@@ -43,7 +43,7 @@ jobs:
|
|||||||
gh actions-importer update
|
gh actions-importer update
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
- uses: actions/github-script@v6
|
- uses: actions/github-script@v7
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
@@ -111,7 +111,7 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
name: output
|
name: output
|
||||||
- uses: actions/github-script@v6
|
- uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const fs = require('fs')
|
const fs = require('fs')
|
||||||
@@ -146,7 +146,7 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
name: output
|
name: output
|
||||||
- uses: actions/github-script@v6
|
- uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const fs = require('fs')
|
const fs = require('fs')
|
||||||
@@ -209,7 +209,7 @@ jobs:
|
|||||||
echo "output=$pullRequest" >> $GITHUB_OUTPUT
|
echo "output=$pullRequest" >> $GITHUB_OUTPUT
|
||||||
env:
|
env:
|
||||||
pullRequestPattern: "Pull request: "
|
pullRequestPattern: "Pull request: "
|
||||||
- uses: actions/github-script@v6
|
- uses: actions/github-script@v7
|
||||||
env:
|
env:
|
||||||
PULL_REQUEST_URL: "${{ steps.pull-request-url.outputs.output }}"
|
PULL_REQUEST_URL: "${{ steps.pull-request-url.outputs.output }}"
|
||||||
with:
|
with:
|
||||||
@@ -238,7 +238,7 @@ jobs:
|
|||||||
if: always() && needs.execute-actions-importer.result == 'failure'
|
if: always() && needs.execute-actions-importer.result == 'failure'
|
||||||
with:
|
with:
|
||||||
name: logs
|
name: logs
|
||||||
- uses: actions/github-script@v6
|
- uses: actions/github-script@v7
|
||||||
if: always() && needs.execute-actions-importer.result == 'failure'
|
if: always() && needs.execute-actions-importer.result == 'failure'
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
@@ -261,7 +261,7 @@ jobs:
|
|||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
body
|
body
|
||||||
})
|
})
|
||||||
- uses: actions/github-script@v6
|
- uses: actions/github-script@v7
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
if: ${{ !github.event.repository.is_template }}
|
if: ${{ !github.event.repository.is_template }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/github-script@v6
|
- uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
let labels = [
|
let labels = [
|
||||||
|
|||||||
Reference in New Issue
Block a user