diff --git a/.github/workflows/atlez.yml b/.github/workflows/atlez.yml new file mode 100644 index 0000000..e1e1d51 --- /dev/null +++ b/.github/workflows/atlez.yml @@ -0,0 +1,35 @@ +name: {{NAME}} + +on: + issue_comment: + types: [created] + pull_request_review_comment: + types: [created] + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.issue.number || github.ref }} + cancel-in-progress: false + +jobs: + atlez: + if: github.event.sender.type != 'Bot' + runs-on: ubuntu-latest + permissions: + id-token: write + contents: {{PERMISSIONS}} + issues: write + pull-requests: write + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 1 + + - name: Run Atlez + uses: atlez/atlez/github@main + env: + {{KEY_NAME}}: ${{ secrets.{{KEY_NAME}} }} + with: + model: "opencode/gpt-5-nano" + mentions: "{{MENTIONS}}" + permissions: {{PERMISSIONS}}