diff --git a/.github/workflows/templating.yml b/.github/workflows/templating.yml new file mode 100644 index 00000000..ca8fa27c --- /dev/null +++ b/.github/workflows/templating.yml @@ -0,0 +1,28 @@ +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@0480e463d360399c4f1fdf1464521f8593d583d5 # v1.1.3 + with: + token: ${{ steps.create-token.outputs.token }} + name: ProblemSolver + organization: ${{ github.repository_owner }} + project-type: pure-python + repository: ${{ github.event.repository.name }} + has-changelog-and-upgrade-guide: false