From af85f586a545ed11aaf5d6fb67b41f40214dae17 Mon Sep 17 00:00:00 2001 From: jcdcdev Date: Sun, 7 Apr 2024 23:27:04 +0100 Subject: [PATCH] +changelog-ignore: ci --- .github/dependabot.yml | 2 ++ .github/workflows/build.yml | 10 +++++++--- .github/workflows/release.yml | 14 +++++++++----- .github/workflows/update-releases.yml | 18 ++++++++++++++++++ 4 files changed, 36 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/update-releases.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 69b384c..fa0aac7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,6 +8,7 @@ updates: commit-message: prefix: "chore" include: "scope" + target-branch: "dev" - package-ecosystem: npm directory: "/" @@ -17,3 +18,4 @@ updates: commit-message: prefix: "chore" include: "scope" + target-branch: "dev" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a35ae0..430265f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,11 +1,15 @@ -name: Build +name: 🏗️ Build on: pull_request: branches: "*" workflow_dispatch: jobs: + metadata: + uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/generate-project-metadata.yml@main build: uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/build-template.yml@main + needs: + - metadata with: - project-name: 'jcdcdev.Umbraco.ReadingTime' - project-path: './src/jcdcdev.Umbraco.ReadingTime/jcdcdev.Umbraco.ReadingTime.csproj' \ No newline at end of file + project-name: ${{ needs.metadata.outputs.project-name }} + project-path: ${{ needs.metadata.outputs.project-path }} \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a9ad572..56ff520 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,14 +1,18 @@ -name: Release +name: 🚀 Release on: workflow_dispatch: jobs: + metadata: + uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/generate-project-metadata.yml@main build: - uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/build-template.yml@main + uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/build-template.yml@main + needs: + - metadata with: - project-name: 'jcdcdev.Umbraco.ReadingTime' - project-path: './src/jcdcdev.Umbraco.ReadingTime/jcdcdev.Umbraco.ReadingTime.csproj' + project-name: ${{ needs.metadata.outputs.project-name}} + project-path: ${{ needs.metadata.outputs.project-path }} release: - needs: + needs: - build permissions: contents: write diff --git a/.github/workflows/update-releases.yml b/.github/workflows/update-releases.yml new file mode 100644 index 0000000..c3d07e5 --- /dev/null +++ b/.github/workflows/update-releases.yml @@ -0,0 +1,18 @@ +name: 📄 Update Releases +on: + workflow_dispatch: + inputs: + start-version: + required: true + default: '0.1.0' + end-version: + required: true + default: '999.999.999' +jobs: + update-releases: + uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/update-all-releases.yml@main + permissions: + contents: write + with: + start-version: ${{ inputs.start-version}} + end-version: ${{ inputs.end-version}} \ No newline at end of file