From 62fbd7a3b19a22c746a361248fc41858d8b14a52 Mon Sep 17 00:00:00 2001 From: allyelvis Date: Sat, 28 Dec 2024 20:48:27 +0000 Subject: [PATCH] Add Copilot CI/CD workflow --- .github/workflows/copilot-ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/copilot-ci.yml diff --git a/.github/workflows/copilot-ci.yml b/.github/workflows/copilot-ci.yml new file mode 100644 index 0000000..4fe640f --- /dev/null +++ b/.github/workflows/copilot-ci.yml @@ -0,0 +1,31 @@ +name: Enable Copilot + +on: + push: + branches: + - main + - master + +jobs: + enable-copilot: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Enable Copilot + run: | + mkdir -p .github + echo "copilot: + enabled: true + languages: + - python + - javascript + - go + ide: + - vscode + - jetbrains" > .github/copilot.yml + + git add .github/copilot.yml + git commit -m "Auto-enable Copilot" + git push