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"
|
||||
versioning-strategy: increase
|
||||
open-pull-requests-limit: 10
|
||||
commit-message:
|
||||
prefix: "build(deps)"
|
||||
prefix-development: "build(deps-dev)"
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
|
|
|
@ -30,10 +30,10 @@ jobs:
|
|||
|
||||
- name: Repo metadata
|
||||
id: repo
|
||||
uses: actions/github-script@v4.1.1
|
||||
uses: actions/github-script@v6.1.0
|
||||
with:
|
||||
script: |
|
||||
const repo = await github.repos.get(context.repo)
|
||||
const repo = await github.rest.repos.get(context.repo)
|
||||
return repo.data
|
||||
|
||||
- name: Prepare
|
||||
|
@ -55,7 +55,7 @@ jobs:
|
|||
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||
|
||||
- name: Get platforms
|
||||
uses: actions/github-script@v4.1.1
|
||||
uses: actions/github-script@v6.1.0
|
||||
id: platforms
|
||||
env:
|
||||
DOCKER_CLI_EXPERIMENTAL: enabled
|
||||
|
|
|
@ -100,7 +100,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Recreate tag
|
||||
uses: actions/github-script@v4.1.1
|
||||
uses: actions/github-script@v6.1.0
|
||||
with:
|
||||
script: |
|
||||
const tag = 'tags/${{ matrix.tag }}';
|
||||
|
@ -108,8 +108,8 @@ jobs:
|
|||
owner: context.repo.owner,
|
||||
repo: context.repo.repo
|
||||
};
|
||||
await github.git.deleteRef({ ...repo, ref: tag }).catch(() => {});
|
||||
await github.git.createRef({ ...repo, ref: `refs/${tag}` , sha: process.env.GITHUB_SHA });
|
||||
await github.rest.git.deleteRef({ ...repo, ref: tag }).catch(() => {});
|
||||
await github.rest.git.createRef({ ...repo, ref: `refs/${tag}` , sha: process.env.GITHUB_SHA });
|
||||
|
||||
release-docker:
|
||||
needs: release-semantic
|
||||
|
@ -130,10 +130,10 @@ jobs:
|
|||
|
||||
- name: Repo metadata
|
||||
id: repo
|
||||
uses: actions/github-script@v4.1.1
|
||||
uses: actions/github-script@v6.1.0
|
||||
with:
|
||||
script: |
|
||||
const repo = await github.repos.get(context.repo)
|
||||
const repo = await github.rest.repos.get(context.repo)
|
||||
return repo.data
|
||||
|
||||
- name: Prepare
|
||||
|
@ -154,7 +154,7 @@ jobs:
|
|||
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||
|
||||
- name: Get platforms
|
||||
uses: actions/github-script@v4.1.1
|
||||
uses: actions/github-script@v6.1.0
|
||||
id: platforms
|
||||
env:
|
||||
DOCKER_CLI_EXPERIMENTAL: enabled
|
||||
|
|
Loading…
Reference in New Issue