Skip to content

Merge pull request #17 from DEFRA/squid-improvement #14

Merge pull request #17 from DEFRA/squid-improvement

Merge pull request #17 from DEFRA/squid-improvement #14

Workflow file for this run

name: Templating
on:
push:
branches:
- main
permissions:
id-token: write
contents: write
pull-requests: write
jobs:
templating:
if: github.run_number == 1 && github.repository != 'DEFRA/cdp-python-backend-template'
name: CDP-templating-workflow
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Apply template
run: |
.github/template/apply.sh ${{ github.repository }}
- name: Cleanup
run: |
.github/template/cleanup.sh
- name: Commit and push changes
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'github-actions@github.com'
git add -A
git commit -m "Applying template"
git push origin main