Skip to content

Display Classifications filter as a tree #19

Display Classifications filter as a tree

Display Classifications filter as a tree #19

Workflow file for this run

name: Deploy Preview Branch
on:
pull_request_target:
branches:
- staging
types: [opened, synchronize, reopened]
jobs:
permissions-check:
runs-on: ubuntu-latest
steps:
- name: Get User Permission
id: checkAccess
uses: actions-cool/check-user-permission@v2
with:
require: write
username: ${{ github.triggering_actor }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check User Permission
if: steps.checkAccess.outputs.require-result == 'false'
run: |
echo "${{ github.triggering_actor }} does not have permissions on this repo."
echo "Current permission level is ${{ steps.checkAccess.outputs.user-permission }}"
echo "Job originally triggered by ${{ github.actor }}"
exit 1
call-test-build:
if: ${{ !failure() }}
uses: ./.github/workflows/test-build.yml
needs: permissions-check
secrets: inherit
with:
environment: staging
call-test:
if: ${{ !failure() }}
uses: ./.github/workflows/test.yml
needs: call-test-build
secrets: inherit
with:
environment: staging
call-deploy:
if: ${{ !failure() }}
uses: ./.github/workflows/deploy.yml
needs: permissions-check
secrets: inherit
permissions:
pull-requests: write
with:
environment: staging