Skip to content

Commit

Permalink
Create add-issues-to-projects.yaml
Browse files Browse the repository at this point in the history
Added the github workflow to handle issues on our boards.
  • Loading branch information
Delawen authored and lordrip committed Jul 24, 2023
1 parent 97c20d0 commit 44b1c86
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/add-issues-to-projects.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: ✨ Add epics to Roadmap ✨

on:
issues:
types: [opened, labeled]
env:
MY_GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}

jobs:
assign_to_newcomers_list:
runs-on: ubuntu-latest
name: 🎯 Move to Newcomers List 🎯
steps:
- name: Assign issues with `good first issue` label to project 4
uses: srggrs/[email protected]
if: contains(github.event.issue.labels.*.name, 'good first issue')
with:
project: 'https://github.com/orgs/KaotoIO/projects/4'
column_name: 'What To Do'
- name: Assign issues with `help wanted` label to project 4
uses: srggrs/[email protected]
if: contains(github.event.issue.labels.*.name, 'help wanted')
with:
project: 'https://github.com/orgs/KaotoIO/projects/4'
column_name: 'What To Do'


assign_to_Kaoto_private:
runs-on: ubuntu-latest
name: 🎯 Move to Kaoto List 🎯
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/KaotoIO/projects/10
github-token: ${{ secrets.MY_GITHUB_TOKEN }}

0 comments on commit 44b1c86

Please sign in to comment.