diff --git a/.github/workflows/auto-reply b/.github/workflows/auto-reply new file mode 100644 index 000000000..538db72a1 --- /dev/null +++ b/.github/workflows/auto-reply @@ -0,0 +1,37 @@ +name: Auto Reply - Deprecated Repo + +on: + issues: + types: [opened] + +jobs: + auto-reply: + if: github.actor != 'github-actions[bot]' + runs-on: ubuntu-latest + permissions: + issues: write + + steps: + - name: Auto respond to new issue + uses: actions/github-script@v7 + with: + script: | + const body = ` +👋 Thanks for your interest in the Power Platform CoE Starter Kit. + +⚠️ **This repository is no longer actively maintained.** +Its core capabilities have been incorporated into the [Power Platform admin center](https://review.learn.microsoft.com/en-us/power-platform/admin/admin-documentation). + +👉 Issues submitted here are **not actively reviewed or addressed**. + +🔒 If you believe you’ve identified a **security issue**, please report it via the [Microsoft Security Response Center](https://www.microsoft.com/msrc/faqs-report-an-issue). + +ℹ️ For additional context, see: #11034 + `; + + await github.rest.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + body + });