Easily connect to the smart Issue Sentinel with this GitHub Action. It helps you handle similar issues and security issues in your repository efficiently.
To use the Issue Sentinel, follow these steps:
-
Contact AzPyCLI@microsoft.com to get the password for the Sentinel. We will assist you with onboarding and add your repository to the database.
-
Add the
ISSUE_SENTINEL_PASSWORDas a secret to your repository. Go toSettings > Secrets and variables > Actions > New repository secret. -
Add the following workflow in your repository.
#File: .github/workflows/RunIssueSentinel.yml name: Run issue sentinel on: issues: types: [opened, edited, closed] jobs: Issue: permissions: issues: write runs-on: ubuntu-latest steps: - name: Run Issue Sentinel uses: Azure/issue-sentinel@v1 with: password: ${{secrets.ISSUE_SENTINEL_PASSWORD}} enable-similar-issues-scanning: true # Scan similar issues in your repo, default: true enable-security-issues-scanning: true # Scan security issues in your repo, default: false
To build the action, use the following commands:
-
npm install -
npm run build