Skip to content
This repository was archived by the owner on May 28, 2026. It is now read-only.

Commit cec5343

Browse files
committed
ci: upgrade to dargmuesli/github-actions action to v3
1 parent ab75e5c commit cec5343

1 file changed

Lines changed: 13 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: CI
22

3+
permissions: {}
4+
35
on:
46
pull_request:
57
push:
@@ -10,28 +12,24 @@ on:
1012
- renovate/**
1113

1214
jobs:
13-
prepare_jobs:
14-
name: "Prepare: job optimization"
15-
runs-on: ubuntu-latest
16-
outputs:
17-
pr_found: ${{ steps.pr.outputs.pr_found }}
18-
steps:
19-
- name: Get current PR
20-
id: pr
21-
uses: 8BitJonny/gh-get-current-pr@4056877062a1f3b624d5d4c2bedefa9cf51435c9 # 4.0.0
22-
with:
23-
filterOutClosed: true
24-
filterOutDraft: true
15+
ci-optimization:
16+
name: CI optimization
17+
uses: dargmuesli/github-actions/.github/workflows/ci-optimization.yml@a8900fcf9e9d1e7f4c1138484cb7bf8d7bd3f3cb # 3.0.0
18+
permissions:
19+
pull-requests: read
2520
build:
26-
needs: prepare_jobs
27-
name: dargstack rgen
21+
needs: ci-optimization
22+
if: needs.ci-optimization.outputs.continue == 'true'
23+
name: Validate `README.md`
24+
permissions:
25+
contents: read
2826
uses: dargmuesli/github-actions/.github/workflows/dargstack-rgen.yml@2e609b27f8b3a698ba389d86518c92bca3a5d492 # 3.1.0
29-
if: needs.prepare_jobs.outputs.pr_found == 'false' || github.event_name == 'pull_request'
3027
release-semantic:
3128
needs: build
3229
name: Semantic Release
3330
uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@2e609b27f8b3a698ba389d86518c92bca3a5d492 # 3.1.0
3431
permissions:
3532
contents: write
33+
id-token: write
3634
secrets:
3735
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)