chore(ci): Take a break from template updates
diff --git a/.github/workflows/template.yml b/.github/workflows/template.yml
deleted file mode 100644
index 4bbf650..0000000
--- a/.github/workflows/template.yml
+++ /dev/null
@@ -1,43 +0,0 @@
-name: Template Update
-
-permissions:
- contents: read
-
-on:
- schedule:
- - cron: '1 1 1 * *'
- workflow_dispatch:
-
-env:
- RUST_BACKTRACE: 1
- CARGO_TERM_COLOR: always
- CLICOLOR: 1
- TEMPLATE_URL: "https://github.com/epage/_rust.git"
- TEMPLATE_BRANCH: "main"
-
-concurrency:
- group: "${{ github.workflow }}-${{ github.ref }}"
- cancel-in-progress: true
-
-jobs:
- update:
- permissions:
- security-events: write # to create PR
- runs-on: ubuntu-latest
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
- with:
- fetch-depth: 0
- - name: Configure git
- run: |
- git config --global user.name 'CI'
- git config --global user.email '<>'
- - name: Fetch template
- run: "git remote add template ${{ env.TEMPLATE_URL }} && git fetch template ${{ env.TEMPLATE_BRANCH }}"
- - name: Merge template
- run: "git checkout -b template-update && git merge template/${{ env.TEMPLATE_BRANCH }} -m 'chore: Update from template'"
- - name: Push
- run: "gh pr create -H template-update"
- env:
- GH_TOKEN: ${{ github.token }}