-
-
Notifications
You must be signed in to change notification settings - Fork 260
71 lines (66 loc) · 1.67 KB
/
boilerplate-ci-entry.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# This file serves as a boilerplate template rather than an end-application script.
# The final application is likely to delete this file and use `ci.yml` as the entry point.
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- '**.md'
- .editorconfig
- '.idea/**'
- '.vscode/**'
pull_request:
paths-ignore:
- '**.md'
- .editorconfig
- '.idea/**'
- '.vscode/**'
concurrency:
group: ${{github.workflow}}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
run-ci-for-template:
name: ci.yml
uses: ./.github/workflows/ci.yml
with:
renderer-template: ${{ matrix.renderer-template }}
distribution-channel: ${{ matrix.renderer-template }}
strategy:
fail-fast: false
matrix:
renderer-template:
- vanilla
- vanilla-ts
- vue
- vue-ts
- react
- react-ts
- react-swc
- react-swc-ts
- preact
- preact-ts
- lit
- lit-ts
- svelte
- svelte-ts
- solid
- solid-ts
# - qwik
# - qwik-ts
dependabot:
permissions:
contents: write
pull-requests: write
needs:
- run-ci-for-template
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'cawa-93/vite-electron-builder'
steps:
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}