Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 11 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: CI

permissions:
contents: read
permissions: {}

on:
pull_request:
Expand All @@ -13,30 +12,24 @@ on:
- 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/gh-get-current-pr@4056877062a1f3b624d5d4c2bedefa9cf51435c9 # 4.0.0
with:
filterOutClosed: true
filterOutDraft: true
ci-optimization:
name: CI optimization
uses: dargmuesli/github-actions/.github/workflows/ci-optimization.yml@a8900fcf9e9d1e7f4c1138484cb7bf8d7bd3f3cb # 3.0.0
permissions:
pull-requests: read
build:
needs: prepare_jobs
needs: ci-optimization
if: needs.ci-optimization.outputs.continue == 'true'
name: dargstack rgen
uses: dargmuesli/github-actions/.github/workflows/dargstack-rgen.yml@2b47b35b82df04152c34ae042bd011dd83f28ffd # 2.8.0
if: needs.prepare_jobs.outputs.pr_found == 'false' || github.event_name == 'pull_request'
uses: dargmuesli/github-actions/.github/workflows/dargstack-rgen.yml@a8900fcf9e9d1e7f4c1138484cb7bf8d7bd3f3cb # 3.0.0
with:
APT_PACKAGES: mkcert
release-semantic:
needs: build
name: Semantic Release
uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@2b47b35b82df04152c34ae042bd011dd83f28ffd # 2.8.0
uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@a8900fcf9e9d1e7f4c1138484cb7bf8d7bd3f3cb # 3.0.0
permissions:
contents: write
id-token: write
secrets:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
5 changes: 2 additions & 3 deletions .github/workflows/release-schedule.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: "Release: Scheduled"

permissions:
contents: read
permissions: {}

on:
schedule:
Expand All @@ -11,7 +10,7 @@ on:
jobs:
release-schedule:
name: "Release: Scheduled"
uses: dargmuesli/github-actions/.github/workflows/release-schedule.yml@2b47b35b82df04152c34ae042bd011dd83f28ffd # 2.8.0
uses: dargmuesli/github-actions/.github/workflows/release-schedule.yml@714a68188444d710ffa3e9f35a05f6a9d420931d # 3.2.0
secrets:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
Expand Down