Browse Source

chore: test e2e

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
Moritz Johner 4 years ago
parent
commit
15ed264f7e
2 changed files with 2 additions and 3 deletions
  1. 2 2
      .github/workflows/e2e-managed.yml
  2. 0 1
      .github/workflows/ok-to-test-managed.yml

+ 2 - 2
.github/workflows/e2e-managed.yml

@@ -52,7 +52,7 @@ jobs:
     # set status=in_progress
     - uses: actions/github-script@v1
       env:
-        number: ${{ github.event.client_payload.slash_command.args.named.pull }}
+        number: ${{ github.event.client_payload.pull_request.number }}
         job: ${{ github.job }}
         conclusion: ${{ job.status }}
       with:
@@ -193,7 +193,7 @@ jobs:
     - uses: actions/github-script@v1
       if: ${{ always() }}
       env:
-        number: ${{ github.event.client_payload.slash_command.args.named.pull }}
+        number: ${{ github.event.client_payload.pull_request.number }}
         job: ${{ github.job }}
         # Conveniently, job.status maps to https://developer.github.com/v3/checks/runs/#update-a-check-run
         conclusion: ${{ job.status }}

+ 0 - 1
.github/workflows/ok-to-test-managed.yml

@@ -30,7 +30,6 @@ jobs:
         token: ${{ env.TOKEN }} # GitHub App installation access token
         # token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # PAT or OAuth token will also work
         reaction-token: ${{ secrets.GITHUB_TOKEN }}
-        static-args: pull=${{ github.event.client_payload.pull_request.number }}
         issue-type: pull-request
         commands: ok-to-test-managed
         permission: maintain