Skip to content

update kicad.yml

update kicad.yml #40

Workflow file for this run

name: Export KiCad
on:
push:
paths:
- '**.sch'
- '**.kicad_pcb'
- '.github/**.yml' # Trigger on changes to the workflow file
- '**.kibot.yml' # Trigger on changes to the KiBot config file used in the workflow
# To allow for manual triggering from the Action console, add workflow_dispatch
workflow_dispatch:
inputs:
name:
description: 'Kicad export'
required: false
default: 'Manual test run'
jobs:
obi:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: INTI-CMNB/KiBot@v2_k8
with:
# Required - kibot config file
config: .github/workflows/kibot/kibot.yml
# optional - prefix to output defined in config
dir: 'Hardware/PCBs'
# optional - schematic file
schema: 'Hardware/PCBs/Open Beam Interface/Open Beam Interface.kicad_sch'
# optional - PCB design file
board: 'Hardware/PCBs/Open Beam Interface/Open Beam Interface.kicad_pcb'
- uses: EndBug/add-and-commit@v9 # You can change this to use a specific version.
with:
# The arguments for the `git add` command (see the paragraph below for more info)
# Default: '.'
add: .
# The name of the user that will be displayed as the author of the commit.
# Default: depends on the default_author input
author_name: Isabel Burgos
# The email of the user that will be displayed as the author of the commit.
# Default: depends on the default_author input
author_email: [email protected]
# Additional arguments for the git commit command. The --message argument is already set by the message input.
# Default: ''
# commit: --signoff
# The name of the custom committer you want to use, if different from the author of the commit.
# Default: the name of the author (set with either author_name or default_author)
committer_name: nano-kibot
# The email of the custom committer you want to use, if different from the author of the commit.
# Default: the email of the author (set with either author_email or default_author)
committer_email: [email protected]
# The local path to the directory where your repository is located. You should use actions/checkout first to set it up.
# Default: '.'
# cwd: './path/to/the/repo'
# Determines the way the action fills missing author name and email. Three options are available:
# - github_actor -> UserName <[email protected]>
# - user_info -> Your Display Name <[email protected]>
# - github_actions -> github-actions <email associated with the github logo>
# Default: github_actor
default_author: github_actor
# Arguments for the git fetch command. If set to false, the action won't fetch the repo.
# For more info as to why fetching is usually recommended, please see the "Performance on large repos" FAQ.
# Default: --tags --force
fetch: false
# The message for the commit.
# Default: 'Commit from GitHub Actions (name of the workflow)'
message: 'Automatically committed by workflows/kicad.yml'
# If this input is set, the action will push the commit to a new branch with this name.
# Default: ''
# new_branch: custom-new-branch
# The way the action should handle pathspec errors from the add and remove commands. Three options are available:
# - ignore -> errors will be logged but the step won't fail
# - exitImmediately -> the action will stop right away, and the step will fail
# - exitAtEnd -> the action will go on, every pathspec error will be logged at the end, the step will fail.
# Default: ignore
pathspec_error_handling: exitAtEnd
# Arguments for the git pull command. By default, the action does not pull.
# Default: ''
# pull: '--rebase --autostash ...'
# Whether to push the commit and, if any, its tags to the repo. It can also be used to set the git push arguments (see the paragraph below for more info)
# Default: true
push: true
# The arguments for the `git rm` command (see the paragraph below for more info)
# Default: ''
# remove: './dir/old_file.js'
# Arguments for the git tag command (the tag name always needs to be the first word not preceded by an hyphen)
# Default: ''
# tag: 'v1.0.0 --force'
# Arguments for the git push --tags command (any additional argument will be added after --tags)
# Default: ''
# tag_push: '--force'