Skip to content

Getting bugfix for parser (still needing bootstrap for some elements) #1523

Getting bugfix for parser (still needing bootstrap for some elements)

Getting bugfix for parser (still needing bootstrap for some elements) #1523

Workflow file for this run

name: build
on:
pull_request:
types: [ closed ]
jobs:
do-not-merge:
if: ${{ contains(github.event.*.labels.*.name, 'do not merge') }}
name: Prevent Merging
runs-on: ubuntu-latest
steps:
- name: Check for label
run: |
echo "Pull request is labeled as 'do not merge'"
echo "This workflow fails so that the pull request cannot be merged"
exit 1
build:
if: github.event.pull_request.merged == true
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.21.3
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Run Tests
run: make test
env:
SHELL: /bin/bash
close_job:
if: github.event.pull_request.merged == false
runs-on: ubuntu-latest
steps:
- run: |
echo PR #${{ github.event.number }} has been closed without being merged