From 875b432204b7c265dc53c67e09683d8c6d75367f Mon Sep 17 00:00:00 2001 From: Daniel Haag Date: Wed, 9 Jul 2025 23:27:28 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Enable=20templating?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/templating.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/templating.yml diff --git a/.github/workflows/templating.yml b/.github/workflows/templating.yml new file mode 100644 index 000000000..e8fd344ec --- /dev/null +++ b/.github/workflows/templating.yml @@ -0,0 +1,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 }}