fix: run workflow on protected branch
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
This commit is contained in:
parent
7650e81804
commit
5ea4a2ec5a
2 changed files with 5 additions and 5 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
8
.github/workflows/pipeline.yml
vendored
8
.github/workflows/pipeline.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue