diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index fa0aac7..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,21 +0,0 @@ -version: 2 -updates: - - package-ecosystem: nuget - directory: "/" - schedule: - interval: "daily" - time: "04:00" - commit-message: - prefix: "chore" - include: "scope" - target-branch: "dev" - - - package-ecosystem: npm - directory: "/" - schedule: - interval: "daily" - time: "04:00" - commit-message: - prefix: "chore" - include: "scope" - target-branch: "dev" diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml new file mode 100644 index 0000000..76c91d6 --- /dev/null +++ b/.github/workflows/auto-assign.yml @@ -0,0 +1,17 @@ +name: 🤖 Auto Assign +on: + issues: + types: [opened, edited, labeled, unlabeled] + pull_request: + types: [opened, edited, labeled, unlabeled] +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: wow-actions/auto-assign@v3 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + reviewers: | + ${{ github.repository_owner }} + assignees: | + ${{ github.repository_owner }} \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e2ea9a8..2847954 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,19 +1,14 @@ name: 🏗️ Build on: pull_request: - branches: "*" workflow_dispatch: jobs: - metadata: - uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/generate-project-metadata.yml@main build: runs-on: ubuntu-latest - needs: - - metadata steps: - name: Build uses: jcdcdev/jcdcdev.Umbraco.Github.Build@main with: - project-name: ${{ needs.metadata.outputs.project-name}} - project-path: ${{ needs.metadata.outputs.project-path }} + project-name: jcdcdev.Umbraco.ReadingTime + project-path: src/jcdcdev.Umbraco.ReadingTime/jcdcdev.Umbraco.ReadingTime.csproj umbraco-version: 13 \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fc91cf9..774153f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,22 +3,19 @@ on: workflow_dispatch: pull_request: types: [ closed ] -jobs: - metadata: - uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/generate-project-metadata.yml@dev +jobs: release: + if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest permissions: contents: write - needs: - - metadata steps: - name: Build id: build uses: jcdcdev/jcdcdev.Umbraco.GitHub.Build@main with: - project-name: ${{ needs.metadata.outputs.project-name}} - project-path: ${{ needs.metadata.outputs.project-path }} + project-name: jcdcdev.Umbraco.ReadingTime + project-path: src/jcdcdev.Umbraco.ReadingTime/jcdcdev.Umbraco.ReadingTime.csproj umbraco-version: 13 - name: Release uses: jcdcdev/jcdcdev.Umbraco.GitHub.Release@main