feat: DCMAW-10311 generate key pair #195
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: On Pull Request | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
merge_group: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
onPullRequestJob: | |
env: | |
ANDROID_HOME: ${{ github.workspace }}/bin/androidSdk | |
permissions: | |
# Set permissions for ${{ secrets.GITHUB_TOKEN }} | |
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication | |
contents: read | |
packages: read | |
name: Verify code base when pull request is published/updated | |
runs-on: ubuntu-latest | |
# runs-on: ubuntu-20.04-16core # Larger github runner, with KVM acceleration | |
steps: | |
- name: Run pull request workflow | |
uses: govuk-one-login/mobile-android-pipelines@3dd3a4603b806128f9da211ea261f658b734cbfb | |
with: | |
sonar_token: ${{ secrets.SONAR_TOKEN }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
github-actor: ${{ github.actor }} |