ci(action): bump actions/github-script from 4.1.1 to 6.1.0
Bumps [actions/github-script](https://github.com/actions/github-script) from 4.1.1 to 6.1.0. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v4.1.1...v6.1.0) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
e0d8831285
commit
b04ea59a2b
|
@ -6,6 +6,9 @@ updates:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
versioning-strategy: increase
|
versioning-strategy: increase
|
||||||
open-pull-requests-limit: 10
|
open-pull-requests-limit: 10
|
||||||
|
commit-message:
|
||||||
|
prefix: "build(deps)"
|
||||||
|
prefix-development: "build(deps-dev)"
|
||||||
|
|
||||||
- package-ecosystem: "github-actions"
|
- package-ecosystem: "github-actions"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
|
|
|
@ -30,10 +30,10 @@ jobs:
|
||||||
|
|
||||||
- name: Repo metadata
|
- name: Repo metadata
|
||||||
id: repo
|
id: repo
|
||||||
uses: actions/github-script@v4.1.1
|
uses: actions/github-script@v6.1.0
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const repo = await github.repos.get(context.repo)
|
const repo = await github.rest.repos.get(context.repo)
|
||||||
return repo.data
|
return repo.data
|
||||||
|
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
|
@ -55,7 +55,7 @@ jobs:
|
||||||
run: echo ${{ steps.buildx.outputs.platforms }}
|
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||||
|
|
||||||
- name: Get platforms
|
- name: Get platforms
|
||||||
uses: actions/github-script@v4.1.1
|
uses: actions/github-script@v6.1.0
|
||||||
id: platforms
|
id: platforms
|
||||||
env:
|
env:
|
||||||
DOCKER_CLI_EXPERIMENTAL: enabled
|
DOCKER_CLI_EXPERIMENTAL: enabled
|
||||||
|
|
|
@ -100,7 +100,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Recreate tag
|
- name: Recreate tag
|
||||||
uses: actions/github-script@v4.1.1
|
uses: actions/github-script@v6.1.0
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const tag = 'tags/${{ matrix.tag }}';
|
const tag = 'tags/${{ matrix.tag }}';
|
||||||
|
@ -108,8 +108,8 @@ jobs:
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo
|
repo: context.repo.repo
|
||||||
};
|
};
|
||||||
await github.git.deleteRef({ ...repo, ref: tag }).catch(() => {});
|
await github.rest.git.deleteRef({ ...repo, ref: tag }).catch(() => {});
|
||||||
await github.git.createRef({ ...repo, ref: `refs/${tag}` , sha: process.env.GITHUB_SHA });
|
await github.rest.git.createRef({ ...repo, ref: `refs/${tag}` , sha: process.env.GITHUB_SHA });
|
||||||
|
|
||||||
release-docker:
|
release-docker:
|
||||||
needs: release-semantic
|
needs: release-semantic
|
||||||
|
@ -130,10 +130,10 @@ jobs:
|
||||||
|
|
||||||
- name: Repo metadata
|
- name: Repo metadata
|
||||||
id: repo
|
id: repo
|
||||||
uses: actions/github-script@v4.1.1
|
uses: actions/github-script@v6.1.0
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const repo = await github.repos.get(context.repo)
|
const repo = await github.rest.repos.get(context.repo)
|
||||||
return repo.data
|
return repo.data
|
||||||
|
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
|
@ -154,7 +154,7 @@ jobs:
|
||||||
run: echo ${{ steps.buildx.outputs.platforms }}
|
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||||
|
|
||||||
- name: Get platforms
|
- name: Get platforms
|
||||||
uses: actions/github-script@v4.1.1
|
uses: actions/github-script@v6.1.0
|
||||||
id: platforms
|
id: platforms
|
||||||
env:
|
env:
|
||||||
DOCKER_CLI_EXPERIMENTAL: enabled
|
DOCKER_CLI_EXPERIMENTAL: enabled
|
||||||
|
|
Loading…
Reference in New Issue