From bc20d08b0fa6a25f2580435a40dc921fdc6022fd Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 26 Sep 2019 14:16:38 -0700 Subject: [PATCH] github: migrate actions --- .github/main.workflow | 8 -------- .github/workflows/pull_request.yml | 12 ++++++++++++ 2 files changed, 12 insertions(+), 8 deletions(-) delete mode 100644 .github/main.workflow create mode 100644 .github/workflows/pull_request.yml diff --git a/.github/main.workflow b/.github/main.workflow deleted file mode 100644 index a9a38d7bbef..00000000000 --- a/.github/main.workflow +++ /dev/null @@ -1,8 +0,0 @@ -action "Auto Assign" { - uses = "ipfs/auto-assign@v1.0.0" - secrets = ["GITHUB_TOKEN"] -} -workflow "Add reviewers/assignees to Pull Requests" { - on = "pull_request" - resolves = "Auto Assign" -} diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 00000000000..08c7974664b --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -0,0 +1,12 @@ +on: pull_request +name: Add reviewers/assignees to Pull Requests +jobs: + autoAssign: + name: Auto Assign + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Auto Assign + uses: ipfs/auto-assign@v1.0.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}