-
-
Notifications
You must be signed in to change notification settings - Fork 22
25 lines (24 loc) · 757 Bytes
/
templating.yml
File metadata and controls
25 lines (24 loc) · 757 Bytes
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
name: Templating
on:
pull_request:
paths:
- ".github/workflows/templating.yml"
workflow_dispatch: # Allow manual triggering
jobs:
render-template:
name: Render template
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- id: create-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: munich-quantum-toolkit/templates@a8866084f0336008b2d2727a34c9d27ec04694b6 # v1.0.0
with:
token: ${{ steps.create-token.outputs.token }}
organization: ${{ github.repository_owner }}
repository: ${{ github.event.repository.name }}