From a15497a4f3cce3f4ef8853ecd3ac5277e373f8a2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 19 Mar 2021 16:38:18 +0000 Subject: [PATCH 1/5] chore(deps): bump regex from 1.4.3 to 1.4.5 Bumps [regex](https://github.com/rust-lang/regex) from 1.4.3 to 1.4.5. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.4.3...1.4.5) Signed-off-by: dependabot[bot] --- Cargo.lock | 14 ++------------ api/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 11a9cb1..4f4ff67 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2193,14 +2193,13 @@ checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" [[package]] name = "regex" -version = "1.4.3" +version = "1.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9251239e129e16308e70d853559389de218ac275b515068abc96829d05b948a" +checksum = "957056ecddbeba1b26965114e191d2e8589ce74db242b6ea25fc4062427a5c19" dependencies = [ "aho-corasick", "memchr", "regex-syntax", - "thread_local", ] [[package]] @@ -2769,15 +2768,6 @@ dependencies = [ "syn 1.0.61", ] -[[package]] -name = "thread_local" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14" -dependencies = [ - "lazy_static", -] - [[package]] name = "time" version = "0.1.44" diff --git a/api/Cargo.toml b/api/Cargo.toml index 9b720b8..b33fc68 100644 --- a/api/Cargo.toml +++ b/api/Cargo.toml @@ -9,7 +9,7 @@ publish = false chrono = "0.4.19" dotenv = "0.15.0" rand = "0.8.1" -regex = "1.4.3" +regex = "1.4.5" strsim = "0.10.0" tokio = { version = "1.2.0", features = ["full"] } From b3d09bc431acd3b271e1ca20d25cbc94fffcaf92 Mon Sep 17 00:00:00 2001 From: Louis Birla Date: Fri, 19 Mar 2021 12:18:52 -0500 Subject: [PATCH 2/5] ci(fix): only run introspection when not dependabot --- .github/workflows/introspect.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/introspect.yml b/.github/workflows/introspect.yml index bd269b8..eec7951 100644 --- a/.github/workflows/introspect.yml +++ b/.github/workflows/introspect.yml @@ -9,6 +9,7 @@ jobs: apollo: name: Graphql Checking runs-on: ubuntu-latest + if: github.event.pusher.name != "dependabot" steps: - name: Auto-cancel redundant jobs uses: technote-space/auto-cancel-redundant-job@v1 @@ -44,4 +45,4 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} schema: "schema.graphql" endpoint: "https://api.loop.page/" - annotations: false + annotations: true From f88a9aad64d267b6ffba403568d32b7ddec4d3a4 Mon Sep 17 00:00:00 2001 From: Louis Birla Date: Fri, 19 Mar 2021 12:20:12 -0500 Subject: [PATCH 3/5] ci: stop job later on dep pr --- .github/workflows/introspect.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/introspect.yml b/.github/workflows/introspect.yml index eec7951..a2a2838 100644 --- a/.github/workflows/introspect.yml +++ b/.github/workflows/introspect.yml @@ -6,10 +6,9 @@ env: INTROSPECTING: "true" jobs: - apollo: + check: name: Graphql Checking runs-on: ubuntu-latest - if: github.event.pusher.name != "dependabot" steps: - name: Auto-cancel redundant jobs uses: technote-space/auto-cancel-redundant-job@v1 @@ -41,6 +40,7 @@ jobs: kill $! - uses: kamilkisiela/graphql-inspector@master + if: github.event.pusher.name != "dependabot" with: github-token: ${{ secrets.GITHUB_TOKEN }} schema: "schema.graphql" From f23b5dc8ce145fa9a957a790e1e0f92376fb106b Mon Sep 17 00:00:00 2001 From: Louis Birla Date: Fri, 19 Mar 2021 12:21:49 -0500 Subject: [PATCH 4/5] ci(fix): change expression --- .github/workflows/introspect.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/introspect.yml b/.github/workflows/introspect.yml index a2a2838..1233467 100644 --- a/.github/workflows/introspect.yml +++ b/.github/workflows/introspect.yml @@ -40,7 +40,7 @@ jobs: kill $! - uses: kamilkisiela/graphql-inspector@master - if: github.event.pusher.name != "dependabot" + if: github.event.pusher.name !== "dependabot" with: github-token: ${{ secrets.GITHUB_TOKEN }} schema: "schema.graphql" From 552557bb74d8f42f12d740ce0f01b4bb709717d6 Mon Sep 17 00:00:00 2001 From: Louis Birla Date: Fri, 19 Mar 2021 12:23:41 -0500 Subject: [PATCH 5/5] ci(fix): use single quotes --- .github/workflows/introspect.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/introspect.yml b/.github/workflows/introspect.yml index 1233467..d0c86cf 100644 --- a/.github/workflows/introspect.yml +++ b/.github/workflows/introspect.yml @@ -40,7 +40,7 @@ jobs: kill $! - uses: kamilkisiela/graphql-inspector@master - if: github.event.pusher.name !== "dependabot" + if: github.event.pusher.name != 'dependabot' with: github-token: ${{ secrets.GITHUB_TOKEN }} schema: "schema.graphql"