diff --git a/.github/workflows/emulator.yaml b/.github/workflows/emulator.yaml index af9b3cd38..a8b1c79a4 100644 --- a/.github/workflows/emulator.yaml +++ b/.github/workflows/emulator.yaml @@ -35,7 +35,7 @@ jobs: strategy: fail-fast: false matrix: - api-level: [23, 33] + api-level: [23, 34] project: ${{ fromJSON(needs.build.outputs.projects) }} steps: - name: checkout diff --git a/.github/workflows/rerun_emulator.yaml b/.github/workflows/rerun_emulator.yaml index 44b73350f..870203950 100644 --- a/.github/workflows/rerun_emulator.yaml +++ b/.github/workflows/rerun_emulator.yaml @@ -1,4 +1,7 @@ name: Rerun failed emulator tests +permissions: + contents: write + on: workflow_run: workflows: ["Android Emulator tests"] @@ -9,5 +12,7 @@ jobs: on-failure: runs-on: ubuntu-latest if: ${{ github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.run_attempt < 2 }} + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - run: gh run rerun ${{ github.event.workflow_run.id }} --failed \ No newline at end of file + - run: gh run rerun ${{ github.event.workflow_run.id }} --failed