clipshot mistakes Windows for Mac #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Automate issue labels & projects | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
add-os-label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Add Windows label | |
if: contains(github.event.issue.body, '[x] Windows') | |
uses: jeffdanielperso/github-project-auto@1.0.0 | |
with: | |
labels-add: os:windows | |
- name: Add Linux label | |
if: contains(github.event.issue.body, '[x] Linux') | |
uses: jeffdanielperso/github-project-auto@1.0.0 | |
with: | |
labels-add: os:linux | |
- name: Add macOS label | |
if: contains(github.event.issue.body, '[x] macOS') | |
uses: jeffdanielperso/github-project-auto@1.0.0 | |
with: | |
labels-add: os:macos | |
add-to-project: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Add to Clipshot project | |
if: contains(github.event.issue.body, '`clipshot.lua`') | |
uses: jeffdanielperso/github-project-auto@1.0.0 | |
with: | |
project-name: Clipshot | |
project-column: To do | |
- name: Add to Misc project | |
if: contains(github.event.issue.body, '`misc.lua`') | |
uses: jeffdanielperso/github-project-auto@1.0.0 | |
with: | |
project-name: Misc | |
project-column: To do | |
project-scope: repository | |
- name: Add to Open Dialog (KDialog) project | |
if: contains(github.event.issue.body, '`open-dialog/kdialog.lua`') | |
uses: jeffdanielperso/github-project-auto@1.0.0 | |
with: | |
project-name: Open Dialog (KDialog) | |
project-column: To do | |
project-scope: repository | |
- name: Add to Open Dialog (Zenity) project | |
if: contains(github.event.issue.body, '`open-dialog/zenity.lua`') | |
uses: jeffdanielperso/github-project-auto@1.0.0 | |
with: | |
project-name: Open Dialog (Zenity) | |
project-column: To do | |
project-scope: repository | |
- name: Add to Open Dialog (PowerShell) project | |
if: contains(github.event.issue.body, '`open-dialog/powershell.lua`') | |
uses: jeffdanielperso/github-project-auto@1.0.0 | |
with: | |
project-name: Open Dialog (PowerShell) | |
project-column: To do | |
project-scope: repository | |
- name: Add to Open Dialog (OSAScript) project | |
if: contains(github.event.issue.body, '`open-dialog/osascript.lua`') | |
uses: jeffdanielperso/github-project-auto@1.0.0 | |
with: | |
project-name: Open Dialog (OSAScript) | |
project-column: To do | |
project-scope: repository | |
- name: Add to Discord project | |
if: contains(github.event.issue.body, '`discord.lua`') | |
uses: jeffdanielperso/github-project-auto@1.0.0 | |
with: | |
project-name: Discord | |
project-column: To do | |
project-scope: repository |