-
-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (35 loc) · 966 Bytes
/
ci.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
name: CI
on:
pull_request:
push:
branches:
- alpha
- beta
- master
- renovate/**
jobs:
prepare_jobs:
name: 'Prepare: job optimization'
runs-on: ubuntu-latest
outputs:
pr_found: ${{ steps.pr.outputs.pr_found }}
steps:
- name: Get current PR
id: pr
uses: 8BitJonny/[email protected]
with:
filterOutClosed: true
sha: ${{ github.event.pull_request.head.sha }}
build:
needs: prepare_jobs
name: dargstack rgen
uses: dargmuesli/github-actions/.github/workflows/[email protected]
if: needs.prepare_jobs.outputs.pr_found == 'false' || github.event_name == 'pull_request'
release-semantic:
needs: build
name: Semantic Release
uses: dargmuesli/github-actions/.github/workflows/[email protected]
permissions:
contents: write
secrets:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}