Skip to content

Commit a26703c

Browse files
authored
👷📝 Set up templating (#180)
## Description This PR sets up the templating workflow that synchronizes common files across our repositories. ## Checklist: - [x] The pull request only contains commits that are focused and relevant to this change. - [x] ~I have added appropriate tests that cover the new/changed functionality.~ - [x] ~I have updated the documentation to reflect these changes.~ - [x] The changes follow the project's style guidelines and introduce no new warnings. - [x] The changes are fully tested and pass the CI checks. - [x] I have reviewed my own code changes.
1 parent fd80e52 commit a26703c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/templating.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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@v2
18+
with:
19+
app-id: ${{ secrets.APP_ID }}
20+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
21+
- uses: munich-quantum-toolkit/templates@0480e463d360399c4f1fdf1464521f8593d583d5 # v1.1.3
22+
with:
23+
token: ${{ steps.create-token.outputs.token }}
24+
name: ProblemSolver
25+
organization: ${{ github.repository_owner }}
26+
project-type: pure-python
27+
repository: ${{ github.event.repository.name }}
28+
has-changelog-and-upgrade-guide: false

0 commit comments

Comments
 (0)