Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: (Auto) Create Pull Request
name: (Auto) Pull Request Create

on:
push:
Expand All @@ -14,7 +14,7 @@ permissions:

jobs:
call:
uses: devops-infra/.github/.github/workflows/reusable-auto-create-pull-request.yml@v1
uses: devops-infra/.github/.github/workflows/reusable-auto-pull-request-create.yml@v1
with:
profile: actions
secrets: inherit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: (Cron) Check dependencies
name: (Cron) Dependency Update

on:
schedule:
Expand All @@ -13,7 +13,7 @@ permissions:

jobs:
call:
uses: devops-infra/.github/.github/workflows/reusable-cron-check-dependencies.yml@v1
uses: devops-infra/.github/.github/workflows/reusable-cron-dependency-update.yml@v1
with:
profile: actions
secrets: inherit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: (Manual) Update Version
name: (Manual) Release Create

on:
workflow_dispatch:
Expand Down Expand Up @@ -30,7 +30,7 @@ permissions:

jobs:
call:
uses: devops-infra/.github/.github/workflows/reusable-manual-update-version.yml@v1
uses: devops-infra/.github/.github/workflows/reusable-manual-release-create.yml@v1
with:
bump-type: ${{ inputs.type }}
explicit-version: ${{ inputs.version }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,4 +292,4 @@ Recommended setup:
- GitHub Actions: set repo variables for the four values above, and secrets for `DOCKER_TOKEN` and `GITHUB_TOKEN`.

Publish images without a release:
- Run the `(Manual) Update Version` workflow with `build_only: true` to build and push images without tagging a release.
- Run the `(Manual) Release Create` workflow with `build_only: true` to build and push images without tagging a release.
52 changes: 9 additions & 43 deletions Taskfile.cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,13 @@ tasks:
exit $rc
fi

version:get:
desc: Get current version
dependency:update:
desc: Check main dependency not covered by dependabot
cmds:
- echo "{{.VERSION}}"
- |
echo "ℹ️ No dedicated dependency updater configured for this repository."
echo "ℹ️ Dependabot handles GitHub Actions and package metadata updates."
echo "ℹ️ Docker build validation remains the runtime safety net."

version:set:
desc: Update version in README.md and action.yml
Expand Down Expand Up @@ -264,44 +267,7 @@ tasks:
- git config user.name "github-actions[bot]"
- git config user.email "github-actions[bot]@users.noreply.github.com"

sync:all:
desc: Sync all common files
cmds:
- task sync:configs
- task sync:ignores
- task sync:taskfiles

sync:configs:
desc: Sync configuration files with devops-infra/.github
cmds:
- |
echo "▶️ Syncing configuration files from devops-infra/.github..."
curl -fsSL {{.CONFIGS_BASE_URL}}/.editorconfig -o ./.editorconfig
curl -fsSL {{.CONFIGS_BASE_URL}}/.hadolint.yaml -o ./.hadolint.yaml
curl -fsSL {{.CONFIGS_BASE_URL}}/.pre-commit-config.yaml -o ./.pre-commit-config.yaml
curl -fsSL {{.CONFIGS_BASE_URL}}/.shellcheckrc -o ./.shellcheckrc
curl -fsSL {{.CONFIGS_BASE_URL}}/.yamllint.yml -o ./.yamllint.yml
git add .editorconfig .hadolint.yaml .pre-commit-config.yaml .shellcheckrc .yamllint.yml
echo "✅ Synced configuration files"

sync:ignores:
desc: Sync ignore files with devops-infra/.github
cmds:
- |
echo "▶️ Syncing ignore files from devops-infra/.github..."
curl -fsSL {{.CONFIGS_BASE_URL}}/.gitignore -o ./.gitignore
curl -fsSL {{.CONFIGS_BASE_URL}}/.dockerignore -o ./.dockerignore
git add .gitignore .dockerignore
echo "✅ Synced ignore files"

sync:taskfiles:
desc: Sync Taskfiles with devops-infra/.github
version:get:
desc: Get current version
cmds:
- |
echo "▶️ Syncing Taskfiles from devops-infra/.github..."
curl -fsSL {{.TASKFILES_BASE_URL}}/Taskfile.yml -o ./Taskfile.yml
curl -fsSL {{.TASKFILES_BASE_URL}}/Taskfile.cicd.yml -o ./Taskfile.cicd.yml
curl -fsSL {{.TASKFILES_BASE_URL}}/Taskfile.docker.yml -o ./Taskfile.docker.yml
curl -fsSL {{.TASKFILES_BASE_URL}}/Taskfile.variables.yml -o ./Taskfile.variables.yml
git add Taskfile*.yml
echo "✅ Synced Taskfiles"
- echo "{{.VERSION}}"
Loading