[Feature Request] Kick platform support #1807
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: Issue Project Automation | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
add-issue-to-projects: | |
name: Add Issue To Projects | |
runs-on: ubuntu-latest | |
steps: | |
- name: Add issue to Work Status project | |
uses: takanabe/[email protected] | |
if: github.event_name == 'issues' && github.event.action == 'opened' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_PROJECT_URL: https://github.com/crowbartools/Firebot/projects/11 | |
GITHUB_PROJECT_COLUMN_NAME: Backlog | |
- name: Add issue to Bugs project | |
uses: takanabe/[email protected] | |
if: github.event_name == 'issues' && github.event.action == 'opened' && contains(github.event.issue.labels.*.name, 'Bug') | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_PROJECT_URL: https://github.com/crowbartools/Firebot/projects/14 | |
GITHUB_PROJECT_COLUMN_NAME: To do |