diff --git a/.github/workflows/e2e-managed.yml b/.github/workflows/e2e-managed.yml index f018fec90..00e30a5bc 100644 --- a/.github/workflows/e2e-managed.yml +++ b/.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 }} diff --git a/.github/workflows/ok-to-test-managed.yml b/.github/workflows/ok-to-test-managed.yml index e00251ce7..90e7e6105 100644 --- a/.github/workflows/ok-to-test-managed.yml +++ b/.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