Skip to content

Commit aef74a5

Browse files
committed
👷 Enable templating
1 parent 2e86755 commit aef74a5

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/templating.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Templating
2+
on:
3+
pull_request:
4+
paths:
5+
- ".github/workflows/templating.yml"
6+
workflow_dispatch: # Allow manual triggering
7+
8+
jobs:
9+
render-template:
10+
name: Render template
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
pull-requests: write
15+
steps:
16+
- id: create-token
17+
uses: actions/create-github-app-token@v1
18+
with:
19+
app-id: ${{ secrets.APP_ID }}
20+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
21+
- uses: munich-quantum-toolkit/templates@a8866084f0336008b2d2727a34c9d27ec04694b6 # v1.0.0
22+
with:
23+
token: ${{ steps.create-token.outputs.token }}
24+
organization: ${{ github.repository_owner }}
25+
repository: ${{ github.event.repository.name }}

0 commit comments

Comments
 (0)