fix: correctly propagate exceptions to calling isolate #27
Workflow file for this run
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
###### | |
# This file is autogenerated from https://github.com/integromat/mono/blob/master/libs/github-resources/src/repositories/isolated-vm.ts. Do not edit manually!!! | |
###### | |
name: PR | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- labeled | |
- unlabeled | |
- edited | |
merge_group: | |
# run only latest workflow, cancel other runs of this workflow | |
concurrency: | |
group: validate-pr-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
FORCE_COLOR: '1' | |
jobs: | |
validate-pr: | |
name: Validate PR | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
issues: write | |
pull-requests: write | |
contents: read | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GITHUB_TOKEN: ${{ github.token }} | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
if: github.event_name != 'merge_group' | |
- name: Setup Node.js | |
if: github.event_name != 'merge_group' | |
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 | |
with: | |
registry-url: https://registry.npmjs.org | |
node-version: '>=20.0' | |
- name: Validate PR | |
if: github.event_name != 'merge_group' | |
run: npx @integromat/actions-toolkit validate-pr |