-
-
Notifications
You must be signed in to change notification settings - Fork 22
27 lines (26 loc) · 819 Bytes
/
templating.yml
File metadata and controls
27 lines (26 loc) · 819 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
26
27
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@v2
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: munich-quantum-toolkit/templates@aa244c8b5ea6b44f4834aebc8f8269c75e10be96 # v1.1.2
with:
token: ${{ steps.create-token.outputs.token }}
name: Predictor
organization: ${{ github.repository_owner }}
project-type: pure-python
repository: ${{ github.event.repository.name }}