From 1592309565841e00c11e89b4c98efff8e66035bc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Sep 2021 06:04:59 +0000 Subject: [PATCH 1/2] Bump actions/github-script from 4.1 to 5 Bumps [actions/github-script](https://github.com/actions/github-script) from 4.1 to 5. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v4.1...v5) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/upstream-dev-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upstream-dev-ci.yaml b/.github/workflows/upstream-dev-ci.yaml index 15ff3f7bda6..ad2ca9df8bb 100644 --- a/.github/workflows/upstream-dev-ci.yaml +++ b/.github/workflows/upstream-dev-ci.yaml @@ -122,7 +122,7 @@ jobs: shopt -s globstar python .github/workflows/parse_logs.py logs/**/*-log - name: Report failures - uses: actions/github-script@v4.1 + uses: actions/github-script@v5 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | From 7ff874402ee1dd8d49a6b3882967427f0801032c Mon Sep 17 00:00:00 2001 From: Anderson Banihirwe Date: Mon, 1 Nov 2021 09:26:58 -0600 Subject: [PATCH 2/2] Fix breaking changes --- .github/workflows/upstream-dev-ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upstream-dev-ci.yaml b/.github/workflows/upstream-dev-ci.yaml index ad2ca9df8bb..49415683d07 100644 --- a/.github/workflows/upstream-dev-ci.yaml +++ b/.github/workflows/upstream-dev-ci.yaml @@ -158,7 +158,7 @@ jobs: // If no issue is open, create a new issue, // else update the body of the existing issue. if (result.repository.issues.edges.length === 0) { - github.issues.create({ + github.rest.issues.create({ owner: variables.owner, repo: variables.name, body: issue_body, @@ -166,7 +166,7 @@ jobs: labels: [variables.label] }) } else { - github.issues.update({ + github.rest.issues.update({ owner: variables.owner, repo: variables.name, issue_number: result.repository.issues.edges[0].node.number,