From f6bb06db650b2a3f1b3f511593e50520e983777f Mon Sep 17 00:00:00 2001 From: Will Dean Date: Tue, 3 Jun 2025 07:47:01 -0400 Subject: [PATCH] add action yml to populate issue --- .github/workflows/update-test-issues.yml | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/update-test-issues.yml diff --git a/.github/workflows/update-test-issues.yml b/.github/workflows/update-test-issues.yml new file mode 100644 index 000000000..e4eaf3822 --- /dev/null +++ b/.github/workflows/update-test-issues.yml @@ -0,0 +1,29 @@ +--- +name: Slow Tests Issue Body + +on: + workflow_dispatch: + schedule: + - cron: '0 */6 * * *' + +permissions: + issues: write + +jobs: + update-comment: + runs-on: ubuntu-latest + steps: + - name: Install ZSH + run: sudo apt-get update && sudo apt-get install -y zsh + - name: Checkout code + uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.11" + - name: Slow tests + working-directory: scripts/slowest_tests + shell: zsh {0} + run: source update-slowest-times-issue.sh + env: + GITHUB_TOKEN: ${{ github.token }}