From f64e39fa4934fa98603e4e5d9ec1bbd86926e776 Mon Sep 17 00:00:00 2001 From: Ryn Daniels <397565+ryndaniels@users.noreply.github.com> Date: Mon, 11 Oct 2021 15:43:27 +0200 Subject: [PATCH] Install explosionbot as a github action (#9420) --- .github/workflows/explosionbot.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/explosionbot.yml diff --git a/.github/workflows/explosionbot.yml b/.github/workflows/explosionbot.yml new file mode 100644 index 000000000..2589c56c8 --- /dev/null +++ b/.github/workflows/explosionbot.yml @@ -0,0 +1,26 @@ +name: Explosion Bot + +on: + issue_comment: + types: + - created + - edited + +jobs: + explosion-bot: + runs-on: ubuntu-18.04 + steps: + - name: Dump GitHub context + env: + GITHUB_CONTEXT: ${{ toJson(github) }} + run: echo "$GITHUB_CONTEXT" + - uses: actions/checkout@v1 + - uses: actions/setup-python@v1 + - name: Install and run explosion-bot + run: | + pip install git+https://${{ secrets.EXPLOSIONBOT_TOKEN }}@github.com/explosion/explosion-bot + python -m explosionbot + env: + INPUT_TOKEN: ${{ secrets.EXPLOSIONBOT_TOKEN }} + INPUT_BK_TOKEN: ${{ secrets.BUILDKITE_SECRET }} + ENABLED_COMMANDS: "test_gpu" \ No newline at end of file