From b04ea59a2be0525de74eb8df5eb83a11cb1154ff Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 May 2022 18:51:54 +0000 Subject: [PATCH] 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] --- .github/dependabot.yml | 3 +++ .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 12 ++++++------ 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 25e178e5..82ee975a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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: "/" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5349b0f2..ca193343 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c1974b79..6de9f2d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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