Skip to content

TESTING

TESTING #104

Workflow file for this run

---
name: PR - Commit Parity
'on':
pull_request:
branches:
- main
- dev
- petermetz/**
push:
branches:
- main
- dev
jobs:
pr-commit-parity:
name: PR and Commit messages Parity
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- name: Use Node.js v18.18.2
uses: actions/[email protected]
with:
node-version: v18.18.2
- name: Execute script
id: execute-script
env:
PULL_REQ_URL: ${{ github.event.pull_request.url }}
PULL_REQ_TITLE: ${{ github.event.pull_request.title }}
# PULL_REQ_BODY: ${{ github.event.pull_request.body }}
run: |
PR_COMMIT_PARITY_OUTPUT=$(node tools/pr-commit-parity.js ${{ github.event.pull_request.url }} "${{ github.event.pull_request.title }}")
echo "PR_COMMIT_PARITY_OUTPUT=$PR_COMMIT_PARITY_OUTPUT" >> "$GITHUB_OUTPUT"
- name: List output
run: echo "The output is ${{ steps.execute-script.outputs.PR_COMMIT_PARITY_OUTPUT }}"