From 11d4b3ecb07336aaccc18636039a9d82a1647c3f Mon Sep 17 00:00:00 2001 From: Omkar P <45419097+omkar-foss@users.noreply.github.com> Date: Wed, 27 May 2026 21:16:38 +0530 Subject: [PATCH] Add workflow to run ai detection action within repo Signed-off-by: Omkar P <45419097+omkar-foss@users.noreply.github.com> --- .github/workflows/ai_detection.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ai_detection.yml diff --git a/.github/workflows/ai_detection.yml b/.github/workflows/ai_detection.yml new file mode 100644 index 0000000..12aff00 --- /dev/null +++ b/.github/workflows/ai_detection.yml @@ -0,0 +1,25 @@ +# Workflow to run our AI Detection action +# https://github.com/chaoss/disclosure/blob/main/action/action.yml + +name: Run AI Detection action locally in repo + +on: + pull_request: + branches: [ "main" ] + +permissions: + contents: read + # pr and issue write access is needed by the ai detection action + # to add a label to the pr, in this step: + # https://github.com/chaoss/disclosure/blob/main/action/action.yml#L95-L99 + pull-requests: write + issues: write + +jobs: + run-ai-detection-action: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Run AI detection action + uses: ./action