Skip to content

Commit

Permalink
Remove GitHub App (#2643)
Browse files Browse the repository at this point in the history
* Remove GitHub App

* clean docs

* fix `set-output`

* changeset delete?

* chore(dependencies): updated changesets for modified dependencies

* migration guide

* chore(dependencies): updated changesets for modified dependencies

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
TuvalSimha and github-actions[bot] authored Oct 22, 2023
1 parent 533ebfd commit 27b5598
Show file tree
Hide file tree
Showing 43 changed files with 347 additions and 3,357 deletions.
6 changes: 6 additions & 0 deletions .changeset/@graphql-inspector_action-2643-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@graphql-inspector/action': patch
---
dependencies updates:
- Added dependency [`dataloader@2.2.2` ↗︎](https://www.npmjs.com/package/dataloader/v/2.2.2) (to
`dependencies`)
6 changes: 0 additions & 6 deletions .changeset/@graphql-inspector_github-2571-dependencies.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/@graphql-inspector_github-2638-dependencies.md

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/algolia-integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
OUTPUT="${OUTPUT//'%'/'%25'}"
OUTPUT="${OUTPUT//$'\n'/'%0A'}"
OUTPUT="${OUTPUT//$'\r'/'%0D'}"
echo "::set-output name=result::$OUTPUT"
echo "result=$OUTPUT" >> $GITHUB_ENV
- name: Publish a message
if: always() && contains(steps.diff_result.outputs.result, 'diff')
Expand Down
3 changes: 0 additions & 3 deletions app.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/action/__tests__/run.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as core from '@actions/core';
import * as github from '@actions/github';
import { CheckConclusion } from '@graphql-inspector/github';
import { CheckConclusion } from '../helpers/types.js';
import { updateCheckRun } from '../src/checks.js';
import { fileLoader } from '../src/files.js';
import { getAssociatedPullRequest } from '../src/git.js';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@actions/github": "4.0.0",
"@graphql-inspector/commands": "workspace:*",
"@graphql-inspector/core": "workspace:*",
"@graphql-inspector/github": "workspace:*",
"dataloader": "2.2.2",
"js-yaml": "4.1.0",
"probot": "12.3.1",
"tslib": "2.6.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/action/src/checks.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as core from '@actions/core';
import * as github from '@actions/github';
import { CheckConclusion } from '@graphql-inspector/github';
import { CheckConclusion } from '../helpers/types.js';
import { OctokitInstance } from './types.js';
import { batch } from './utils.js';

Expand Down
12 changes: 5 additions & 7 deletions packages/action/src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ import { buildClientSchema, buildSchema, GraphQLSchema, printSchema, Source } fr
import * as core from '@actions/core';
import * as github from '@actions/github';
import { Rule } from '@graphql-inspector/core';
import {
CheckConclusion,
createSummary,
diff,
printSchemaFromEndpoint,
produceSchema,
} from '@graphql-inspector/github';
import { diff } from '../helpers/diff.js';
import { printSchemaFromEndpoint } from '../helpers/loaders.js';
import { produceSchema } from '../helpers/schema.js';
import { CheckConclusion } from '../helpers/types.js';
import { createSummary } from '../helpers/utils.js';
import { updateCheckRun } from './checks.js';
import { fileLoader } from './files.js';
import { getAssociatedPullRequest, getCurrentCommitSha } from './git.js';
Expand Down
256 changes: 0 additions & 256 deletions packages/github/CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions packages/github/LICENSE

This file was deleted.

Loading

0 comments on commit 27b5598

Please sign in to comment.