After you obtained the API integration key and completed project and branch creation, next is to seamlessly integrate ArmourZero's AI-powered Code Scan into your Gitea.
Integration guide
1. Go to Code menu and click "Integrate" button.
2. Here you can also able to obtain your API Key by clicking Copy API Key.
3. Follow this video to add Repository Secrets in your Gitea repository.
Go to your Gitea repository. Click on "Settings" in the top navigation. Then select "Secrets" under the repository's Actions settings. Click "Add Secret" and add a secret named AZ_TOKEN with your ArmourZero API key.
4. Create Gitea Actions Workflow File
Create a new file in your repository under the path .gitea/workflows/az-security-scan.yml and copy the provided configuration below.
5. Save and Trigger a Push
Save the changes to the .gitea/workflows/az-security-scan.yml file. Commit and push the changes to your Gitea repository.
6. Monitor Actions
Go to the "Actions" tab in your Gitea repository. You’ll see the workflow running. Click on it to view detailed logs and job results.