From 7fb4c41091b5a5bb4721c212453e50043d9f24a9 Mon Sep 17 00:00:00 2001 From: samarmeena Date: Mon, 6 Nov 2023 10:57:43 +0530 Subject: [PATCH] workflow: remove auto merge --- .github/workflows/Auto Merge.yml | 36 -------------------------------- .github/workflows/Builld.yml | 2 +- 2 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 .github/workflows/Auto Merge.yml diff --git a/.github/workflows/Auto Merge.yml b/.github/workflows/Auto Merge.yml deleted file mode 100644 index dadce3b..0000000 --- a/.github/workflows/Auto Merge.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Dependabot AutoMerge -on: - pull_request_target: - branches: [main] - -jobs: - publish: - if: github.actor == 'dependabot[bot]' - runs-on: ubuntu-latest - steps: - - name: check out code 🛎 - uses: actions/checkout@v2 - - - name: Install Node v17 - uses: actions/setup-node@v2 - with: - node-version: "17.x" - registry-url: "https://registry.npmjs.org" - - - name: Install dependencies - run: npm install - - - name: Run TypeScript compiler - run: npm run type-check - - - name: Merge PR - uses: actions/github-script@v5 - with: - script: | - github.rest.pulls.merge({ - merge_method: "squash", - owner: context.payload.repository.owner.login, - repo: context.payload.repository.name, - pull_number: context.payload.pull_request.number - }) - github-token: ${{github.token}} diff --git a/.github/workflows/Builld.yml b/.github/workflows/Builld.yml index df93c74..16d632e 100644 --- a/.github/workflows/Builld.yml +++ b/.github/workflows/Builld.yml @@ -33,5 +33,5 @@ jobs: - name: Run Prettier run: npm run check:prettier - - name: Run Type + - name: Run Build run: npm run build