Skip to content

Add constants for bloomd format #169

Add constants for bloomd format

Add constants for bloomd format #169

Workflow file for this run

name: Finalized specs
on:
push:
branches:
- main
pull_request:
jobs:
change_check:
name: Check if file changed
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
modified: ${{ steps.changes.outputs.modified }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- id: changes
# Set outputs using the command.
run: |
echo "::set-output name=modified::$(git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep spec/labels-v1.json$ | xargs)"
unit_test:
name: Error if finalized spec modified
needs: change_check
if: ${{ needs.change_check.outputs.modified }}
runs-on: ubuntu-18.04
steps:
- name: Fail if specs modified
run: exit 1