Merge pull request #38 from mithro/manage-labels

Automatic manage GitHub labels
diff --git a/.github/labels.yml b/.github/labels.yml
new file mode 100644
index 0000000..803694b
--- /dev/null
+++ b/.github/labels.yml
@@ -0,0 +1,239 @@
+- name: "documentation"
+  description: "Improvements or additions to documentation"
+  color: "0075ca"
+
+- name: "infrastructure"
+  description: "Issues related with infrastructure like Travis-CI, Kokoro or other similar automated tooling."
+  color: "fef2c0"
+
+##########################################################################
+# Labels related to files found in the repository
+#
+# File related labels are colored purple: d61dae
+##########################################################################
+
+- name: "files-definition"
+  description: "Issues related to the definition.json provided for each cell."
+  color: "d61dae"
+
+- name: "files-layout-gds"
+  description: "Issues related to GDS layout files."
+  color: "d61dae"
+
+- name: "files-layout-lef-magic"
+  description: "Issues related to the Library Exchange Format (LEF) files generated by Magic."
+  color: "d61dae"
+
+- name: "files-layout-lef"
+  description: "Issues related to Library Exchange Format (LEF) files."
+  color: "d61dae"
+
+- name: "files-model-behavioral-verilog"
+  description: "Issues related to the Verilog behavioural models."
+  color: "d61dae"
+
+- name: "files-model-functional-verilog"
+  description: "Issues related to the Verilog functional models."
+  color: "d61dae"
+
+- name: "files-model-spice"
+  description: "Issues related to Spice model files."
+  color: "d61dae"
+
+- name: "files-model-verilog"
+  description: "Issues related to Verilog simulation model files."
+  color: "d61dae"
+
+- name: "files-netlist-cdl"
+  description: "Issues related to netlist Circuit Description Language files."
+  color: "d61dae"
+
+- name: "files-netlist-tsv"
+  description: "Issues related to the netlist tab separated values (tsv) files"
+  color: "d61dae"
+
+- name: "files-powerpins"
+  description: "Issues related to the version of files which include power pins."
+  color: "d61dae"
+
+- name: "files-schematic-svg"
+  description: "Issues related to schematic files."
+  color: "d61dae"
+
+- name: "files-symbol-svg"
+  description: "Issues related to symbol files."
+  color: "d61dae"
+
+- name: "files-symbol-verilog"
+  description: "Issues related to the Verilog symbol definition."
+  color: "d61dae"
+
+- name: "files-testbench-verilog"
+  description: "Issues related to the Verilog test benches."
+  color: "d61dae"
+
+- name: "files-timing-json"
+  description: "Issues related to timing data found in the json files."
+  color: "d61dae"
+
+- name: "files-timing-liberty"
+  description: "Issues related to Liberty timing files."
+  color: "d61dae"
+
+##########################################################################
+# Labels related to the libraries
+#
+# Library related labels are "green" colored.
+#
+#  - SkyWater provided libraries have color:     c5d53c (light green)
+#  - Third party provided libraries have color:  004e6f (dark green)
+##########################################################################
+
+# IO Libraries
+- name: "lib-sky130_ef_io"
+  description: "Issues with the IO and periphery cells provided by the eFabless."
+  color: "004e6f"
+
+- name: "lib-sky130_fd_io"
+  description: "Issues with the IO and periphery cells provided by the SkyWater foundry."
+  color: "c5d53c"
+
+# Primitives
+- name: "lib-sky130_fd_pr_base"
+  description: "Issues with the base primitive cells provided by the SkyWater foundry."
+  color: "c5d53c"
+
+- name: "lib-sky130_fd_pr_rf"
+  description: "Issues with the rf primitive cells provided by the SkyWater foundry."
+  color: "c5d53c"
+
+- name: "lib-sky130_fd_pr_rf2"
+  description: "Issues with the rf2 primitive cells provided by the SkyWater foundry."
+  color: "c5d53c"
+
+# Standard cells
+- name: "lib-sky130_fd_sc_hd"
+  description: "Issues with the \"high density\" digital standard cells provided by the SkyWater foundry."
+  color: "c5d53c"
+
+- name: "lib-sky130_fd_sc_hdll"
+  description: "Issues with the \"high density low leakage\" digital standard cells provided by the SkyWater foundry."
+  color: "c5d53c"
+
+- name: "lib-sky130_fd_sc_hs"
+  description: "Issues with the \"high speed\" digital standard cells provided by the SkyWater foundry."
+  color: "c5d53c"
+
+- name: "lib-sky130_fd_sc_hvl"
+  description: "Issues with the \"high voltage\" digital standard cells provided by the SkyWater foundry."
+  color: "c5d53c"
+
+- name: "lib-sky130_fd_sc_lp"
+  description: "Issues with the \"low power\" digital standard cells provided by the SkyWater foundry."
+  color: "c5d53c"
+
+- name: "lib-sky130_fd_sc_ls"
+  description: "Issues with the \"low speed\" digital standard cells provided by the SkyWater foundry."
+  color: "c5d53c"
+
+- name: "lib-sky130_fd_sc_ms"
+  description: "Issues with the \"medium speed\" digital standard cells provided by the SkyWater foundry."
+  color: "c5d53c"
+
+- name: "lib-sky130_osu_sc"
+  description: "Issues with the IO and periphery cells provided by Oklahoma State University."
+  color: "004e6f"
+
+# Build spaces
+- name: "lib-sky130_fd_sp_flash"
+  description: "Issues with the Flash build space provided by the SkyWater foundry."
+  color: "c5d53c"
+
+- name: "lib-sky130_fd_sp_sram"
+  description: "Issues with the SRAM build space provided by the SkyWater foundry."
+  color: "c5d53c"
+
+##########################################################################
+# Labels related to scripts in the repo.
+##########################################################################
+
+- name: "scripts-documentation"
+  description: "Issues with the scripts involved in the PDK documentation generation."
+  color: "5648a8"
+
+- name: "scripts-python"
+  description: "Issues with the Python scripts provided as part of the PDK."
+  color: "5648a8"
+
+##########################################################################
+# Labels related to tools
+#
+# Tool related labels are "blue" colored. More open source the darker blue.
+#
+#  - Fully open source tools:     054caa (dark blue)
+#  - Partialy open source tools:  8ac6f7 (light blue)
+#  - Closed source tools:         76fcf3 (cyan)
+##########################################################################
+
+# Fully open source tools.
+- name: "tools-Magic"
+  description: "Issues with using Magic with the PDK."
+  color: "054caa"
+
+- name: "tools-OpenRAM"
+  description: "Issues with using OpenRAM with the PDK."
+  color: "054caa"
+
+- name: "tools-OpenROAD"
+  description: "Issues with using OpenROAD with the PDK."
+  color: "054caa"
+
+# Partially open or with closed source dependencies.
+- name: "tools-BAG"
+  description: "Issues with using the Berkeley Analog Generator (BAG) with the PDK."
+  color: "8ac6f7"
+
+- name: "tools-FASoC"
+  description: "Issues with using the Fully-Autonomous SoC Synthesis (FASoC) with the PDK."
+  color: "8ac6f7"
+
+# Closed source tools
+- name: "tools-Cadence-Innovus"
+  description: "Issues with using Cadence Innovus with the PDK."
+  color: "76fcf3"
+
+- name: "tools-Cadence-Virtuoso"
+  description: "Issues with using Cadence Virtuoso with the PDK."
+  color: "76fcf3"
+
+- name: "tools-Mentor-Calibre"
+  description: "Issues with using Mentor Calibre with the PDK."
+  color: "76fcf3"
+
+- name: "tools-Synopsys-PrimeTime"
+  description: "Issues with using Synopsys Primetime with the PDK."
+  color: "76fcf3"
+
+##########################################################################
+# Labels related to type of GitHub issue
+##########################################################################
+
+- name: "type-bug"
+  description: "Something isn't working"
+  color: "d73a4a"
+
+- name: "type-duplicate"
+  description: "This issue or pull request already exists"
+  color: "cfd3d7"
+
+- name: "type-enhancement"
+  description: "New feature or request"
+  color: "a2eeef"
+
+- name: "type-question"
+  description: "Further information is requested"
+  color: "d876e3"
+
+- name: "type-todo"
+  description: "Item which references a specific open task which needs finishing."
+  color: "57dbba"
diff --git a/.github/workflows/manage-labels.yml b/.github/workflows/manage-labels.yml
new file mode 100644
index 0000000..4e9bb19
--- /dev/null
+++ b/.github/workflows/manage-labels.yml
@@ -0,0 +1,19 @@
+name: Manage Labels
+
+on: push
+
+jobs:
+  labeler:
+    runs-on: ubuntu-latest
+    steps:
+      -
+        name: Checkout
+        uses: actions/checkout@v2
+      -
+        name: Run Labeler
+        if: success()
+        uses: crazy-max/ghaction-github-labeler@v2
+        with:
+          yaml_file: .github/labels.yml
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}