Skip to content

ci: Create github action for triggering Bitrise E2E builds based on label #3

ci: Create github action for triggering Bitrise E2E builds based on label

ci: Create github action for triggering Bitrise E2E builds based on label #3

Workflow file for this run

name: Apply Run E2E Smoke label
on:
pull_request:
types: [opened, ready_for_review]
env:
E2E_LABEL: 'Run Smoke E2E'
jobs:
apply-e2e-label:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
permissions:
pull-requests: write
# contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: yarn
- name: Install dependencies
run: yarn --immutable
- name: Apply E2E label
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn run apply-e2e-label