From 5ea4a2ec5a233fb5280aadd042c529a481632564 Mon Sep 17 00:00:00 2001 From: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com> Date: Fri, 21 Oct 2022 17:18:31 +0530 Subject: [PATCH] fix: run workflow on protected branch Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com> --- .github/workflows/ci.yml | 2 -- .github/workflows/pipeline.yml | 8 +++++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d6b845..5dd9300 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,8 +25,6 @@ jobs: uses: actions/setup-node@v3 with: node-version-file: 'package.json' - check-latest: true - cache: 'npm' - name: Install dependencies 🚀 run: npm i --prefer-offline --no-audit --omit=optional diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 8e51ac4..03bea41 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -4,9 +4,11 @@ on: push: branches: - master + - build/add-ci-workflow pull_request: branches: - master + - build/add-ci-workflow concurrency: group: ci-${{ github.ref }}-1 @@ -26,15 +28,15 @@ jobs: name: 'CI' needs: - extract-branch - uses: maptiler/tileserver-gl/.github/workflows/ci.yml@master + uses: vinayakkulkarni/tileserver-gl/.github/workflows/ci.yml@build/add-ci-workflow automerger: name: 'Auto Merge Bot PRs' needs: - ci if: ${{ github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]' }} - uses: maptiler/tileserver-gl/.github/workflows/automerger.yml@master + uses: vinayakkulkarni/tileserver-gl/.github/workflows/automerger.yml@build/add-ci-workflow ct: name: 'CT' needs: - extract-branch - uses: maptiler/tileserver-gl/.github/workflows/ct.yml@master + uses: vinayakkulkarni/tileserver-gl/.github/workflows/ct.yml@build/add-ci-workflow