mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-31 18:11:48 +02:00
Added issue template and revised some names in the workflow
This commit is contained in:
15
.github/ISSUE_TEMPLATE/Translate-to-FluidNC.md
vendored
Normal file
15
.github/ISSUE_TEMPLATE/Translate-to-FluidNC.md
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
name: Translate Machine.h File to FluidNC
|
||||
about: Use this template to translate a Grbl_Esp32 Machine.h to FluidNC YAML format.
|
||||
title: 'Translate Machine.h for YOUR NAME'
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
This issue will automatically convert a Grbl_Esp32 "machine.h" file to FluidNC YAML format.
|
||||
|
||||
Change YOUR NAME in the title to some string that identifies your machine configuration.
|
||||
|
||||
Attach your Machine.h file here - but first change the .h extension to .txt because GitHub will not allow you to attach a file with a .h extension. Submit the issue, and after a few minutes, a new comment will appear with the FluidNC YAML file.
|
||||
|
6
.github/workflows/convert-machine-file.yaml
vendored
6
.github/workflows/convert-machine-file.yaml
vendored
@@ -4,8 +4,8 @@ on:
|
||||
types:
|
||||
- opened
|
||||
jobs:
|
||||
add-comment:
|
||||
if: contains(github.event.issue.title, 'translate machine file')
|
||||
convert-from-issue:
|
||||
if: contains(github.event.issue.title, 'Translate Machine.h')
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
mv $file_path Grbl_Esp32/src/Machines/convert-job.h
|
||||
python convert-machine.py convert-job.h
|
||||
echo 'file_content<<EOF' >> $GITHUB_ENV
|
||||
cat cat yaml/convert-job.yaml >> $GITHUB_ENV
|
||||
cat yaml/convert-job.yaml >> $GITHUB_ENV
|
||||
echo 'EOF' >> $GITHUB_ENV
|
||||
|
||||
- name: Add comment
|
||||
|
Reference in New Issue
Block a user