Skip to content

feat(ask-review): Add the requester to the ask-review message #2

feat(ask-review): Add the requester to the ask-review message

feat(ask-review): Add the requester to the ask-review message #2

Workflow file for this run

---
name: "Ask for reviews"
on:
pull_request:
types: [labeled]
branches:
- main
- "[0-9]+.[0-9]+.x"
permissions: {}
jobs:
ask-reviews:
if: github.triggering_actor != 'dd-devflow[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Setup python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version-file: .python-version
cache: 'pip'
cache-dependency-path: '**/requirements*.txt'
- name: Install dependencies
run: pip install -r requirements.txt -r tasks/requirements.txt --break-system-packages
- name: Ask for code reviews
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_API_TOKEN : ${{ secrets.SLACK_DATADOG_AGENT_BOT_TOKEN }}
run: inv -e issue.ask-reviews -p ${{ github.event.pull_request.number }}