Merge pull request #38 from actions/update-dependencies
Update dependencies
This commit is contained in:
@@ -13,7 +13,7 @@ jobs:
|
|||||||
unit-test:
|
unit-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: ruby/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bundle install
|
run: bundle install
|
||||||
@@ -22,7 +22,7 @@ jobs:
|
|||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: ruby/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
bundler-cache: true
|
bundler-cache: true
|
||||||
|
|||||||
@@ -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: |
|
||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
labels: ['actions-importer-running']
|
labels: ['actions-importer-running']
|
||||||
})
|
})
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: ruby/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
# ImageOs must be configured to match the OS of the runner when using self-hosted runners.
|
# ImageOs must be configured to match the OS of the runner when using self-hosted runners.
|
||||||
# env:
|
# env:
|
||||||
@@ -84,7 +84,7 @@ jobs:
|
|||||||
gh actions-importer ${{ steps.prepare.outputs.command }} ${{ steps.prepare.outputs.provider }} \
|
gh actions-importer ${{ steps.prepare.outputs.command }} ${{ steps.prepare.outputs.provider }} \
|
||||||
${{ steps.prepare.outputs.args }} \
|
${{ steps.prepare.outputs.args }} \
|
||||||
--output-dir output
|
--output-dir output
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v4
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
path: output/
|
path: output/
|
||||||
@@ -96,7 +96,7 @@ jobs:
|
|||||||
filename=$(basename "$path")
|
filename=$(basename "$path")
|
||||||
echo "LOG_FILE_PATH=$path" >> $GITHUB_ENV
|
echo "LOG_FILE_PATH=$path" >> $GITHUB_ENV
|
||||||
echo "filename=$filename" >> $GITHUB_OUTPUT
|
echo "filename=$filename" >> $GITHUB_OUTPUT
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v4
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
path: ${{ env.LOG_FILE_PATH }}
|
path: ${{ env.LOG_FILE_PATH }}
|
||||||
@@ -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