@@ -2,6 +2,10 @@ version: '3'
22
33silent : true
44
5+ vars :
6+ PR_TEMPLATE : https://raw.githubusercontent.com/devops-infra/.github/master/PULL_REQUEST_TEMPLATE.md
7+ TEMPLATE_REPO_BASE_URL : https://raw.githubusercontent.com/devops-infra/template-action/refs/heads/master
8+
59tasks :
610 pre-commit :
711 desc : Run all pre-commit hooks
@@ -228,6 +232,7 @@ tasks:
228232 curl -sL {{.TEMPLATE_REPO_BASE_URL}}/.pre-commit-config.yaml -o ./.pre-commit-config.yaml
229233 curl -sL {{.TEMPLATE_REPO_BASE_URL}}/.shellcheckrc -o ./.shellcheckrc
230234 curl -sL {{.TEMPLATE_REPO_BASE_URL}}/.yamllint.yml -o ./.yamllint.yml
235+ git add .editorconfig .hadolint.yaml .pre-commit-config.yaml .shellcheckrc .yamllint.yml
231236 echo "✅ Synced configuration files"
232237
233238 sync:ignores :
@@ -237,6 +242,7 @@ tasks:
237242 echo "▶️ Syncing ignore files from template-action..."
238243 curl -sL {{.TEMPLATE_REPO_BASE_URL}}/.gitignore -o ./.gitignore
239244 curl -sL {{.TEMPLATE_REPO_BASE_URL}}/.dockerignore -o ./.dockerignore
245+ git add .gitignore .dockerignore
240246 echo "✅ Synced ignore files"
241247
242248 sync:taskfiles :
@@ -248,6 +254,7 @@ tasks:
248254 curl -sL {{.TEMPLATE_REPO_BASE_URL}}/Taskfile.cicd.yml -o ./Taskfile.cicd.yml
249255 curl -sL {{.TEMPLATE_REPO_BASE_URL}}/Taskfile.docker.yml -o ./Taskfile.docker.yml
250256 curl -sL {{.TEMPLATE_REPO_BASE_URL}}/Taskfile.variables.yml -o ./Taskfile.variables.yml
257+ git add Taskfile*.yml
251258 echo "✅ Synced Taskfiles"
252259
253260 sync:workflows :
@@ -258,8 +265,15 @@ tasks:
258265 mkdir -p .github/workflows
259266 curl -sL {{.TEMPLATE_REPO_BASE_URL}}/.github/workflows/auto-create-pull-request.yml \
260267 -o ./.github/workflows/auto-create-pull-request.yml
261- curl -sL {{.TEMPLATE_REPO_BASE_URL}}/.github/workflows/auto-create-release.yml -o ./.github/workflows/auto-create-release.yml
268+ curl -sL {{.TEMPLATE_REPO_BASE_URL}}/.github/workflows/auto-create-release.yml \
269+ -o ./.github/workflows/auto-create-release.yml
262270 curl -sL {{.TEMPLATE_REPO_BASE_URL}}/.github/workflows/cron-check-dependencies.yml \
263271 -o ./.github/workflows/cron-check-dependencies.yml
264- curl -sL {{.TEMPLATE_REPO_BASE_URL}}/.github/workflows/manual-update-version.yml -o ./.github/workflows/manual-update-version.yml
272+ curl -sL {{.TEMPLATE_REPO_BASE_URL}}/.github/workflows/manual-sync-common-files.yml \
273+ -o ./.github/workflows/manual-sync-common-files.yml
274+ curl -sL {{.TEMPLATE_REPO_BASE_URL}}/.github/workflows/manual-update-version.yml \
275+ -o ./.github/workflows/manual-update-version.yml
276+ curl -sL {{.TEMPLATE_REPO_BASE_URL}}/.github/dependabot.yml \
277+ -o ./.github/dependabot.yml
278+ git add .github/workflows/
265279 echo "✅ Synced GitHub workflows"
0 commit comments