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
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version-file: 'package.json'
|
node-version-file: 'package.json'
|
||||||
check-latest: true
|
|
||||||
cache: 'npm'
|
|
||||||
|
|
||||||
- name: Install dependencies 🚀
|
- name: Install dependencies 🚀
|
||||||
run: npm i --prefer-offline --no-audit --omit=optional
|
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:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- build/add-ci-workflow
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- build/add-ci-workflow
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-${{ github.ref }}-1
|
group: ci-${{ github.ref }}-1
|
||||||
|
|
@ -26,15 +28,15 @@ jobs:
|
||||||
name: 'CI'
|
name: 'CI'
|
||||||
needs:
|
needs:
|
||||||
- extract-branch
|
- extract-branch
|
||||||
uses: maptiler/tileserver-gl/.github/workflows/ci.yml@master
|
uses: vinayakkulkarni/tileserver-gl/.github/workflows/ci.yml@build/add-ci-workflow
|
||||||
automerger:
|
automerger:
|
||||||
name: 'Auto Merge Bot PRs'
|
name: 'Auto Merge Bot PRs'
|
||||||
needs:
|
needs:
|
||||||
- ci
|
- ci
|
||||||
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]' }}
|
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:
|
ct:
|
||||||
name: 'CT'
|
name: 'CT'
|
||||||
needs:
|
needs:
|
||||||
- extract-branch
|
- 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