From cdba040d7d48a484e7dc19cbc6804fa11ddc93b0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Feb 2022 10:50:51 +0000 Subject: [PATCH 1/2] chore(deps): Bump follow-redirects from 1.14.7 to 1.14.8 Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 51f93faa3..48284a004 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7121,9 +7121,9 @@ flush-write-stream@^1.0.0: readable-stream "^2.3.6" follow-redirects@^1.0.0, follow-redirects@^1.10.0: - version "1.14.7" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.7.tgz#2004c02eb9436eee9a21446a6477debf17e81685" - integrity sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ== + version "1.14.8" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.8.tgz#016996fb9a11a100566398b1c6839337d7bfa8fc" + integrity sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA== for-in@^0.1.3: version "0.1.8" From c2e0afd507ee58cb269fd25cb67fc8854c01bc09 Mon Sep 17 00:00:00 2001 From: Mike DeAngelo Date: Mon, 14 Feb 2022 16:12:51 -0500 Subject: [PATCH 2/2] chore: change github token for required-checks-hack-ci to a more priviledged user --- .github/workflows/required-checks-hack-ci.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/required-checks-hack-ci.yml b/.github/workflows/required-checks-hack-ci.yml index a03e712e5..baf997f16 100644 --- a/.github/workflows/required-checks-hack-ci.yml +++ b/.github/workflows/required-checks-hack-ci.yml @@ -27,6 +27,9 @@ on: branches: - main +permissions: + checks: write + jobs: satisfy-required-checks: name: Satisfy Required Checks @@ -84,7 +87,7 @@ jobs: run: | curl --request POST \ --url https://api.github.com/repos/looker-open-source/sdk-codegen/check-runs \ - --header "authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + --header "authorization: token ${{ secrets.GITHUB_TOKEN }}" \ --header "content-type: application/json" \ --header "Accept: application/vnd.github.v3+json" \ --data '{ @@ -103,7 +106,7 @@ jobs: run: | curl --request POST \ --url https://api.github.com/repos/looker-open-source/sdk-codegen/check-runs \ - --header "authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + --header "authorization: token ${{ secrets.GITHUB_TOKEN }}" \ --header "content-type: application/json" \ --header "Accept: application/vnd.github.v3+json" \ --data '{ @@ -122,7 +125,7 @@ jobs: run: | curl --request POST \ --url https://api.github.com/repos/looker-open-source/sdk-codegen/check-runs \ - --header "authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + --header "authorization: token ${{ secrets.GITHUB_TOKEN }}" \ --header "content-type: application/json" \ --header "Accept: application/vnd.github.v3+json" \ --data '{ @@ -141,7 +144,7 @@ jobs: run: | curl --request POST \ --url https://api.github.com/repos/looker-open-source/sdk-codegen/check-runs \ - --header "authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + --header "authorization: token ${{ secrets.GITHUB_TOKEN }}" \ --header "content-type: application/json" \ --header "Accept: application/vnd.github.v3+json" \ --data '{ @@ -160,7 +163,7 @@ jobs: run: | curl --request POST \ --url https://api.github.com/repos/looker-open-source/sdk-codegen/check-runs \ - --header "authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + --header "authorization: token ${{ secrets.GITHUB_TOKEN }}" \ --header "content-type: application/json" \ --header "Accept: application/vnd.github.v3+json" \ --data '{