-
Notifications
You must be signed in to change notification settings - Fork 21
34 lines (31 loc) · 1.11 KB
/
project-automation.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This is a basic workflow to help you get started with Actions
name: Move new requests to the correct Open Mainframe Project Kanban Boards
on:
issues:
types: [opened, labeled, closed]
pull_request_target:
types: [opened, labeled, closed]
jobs:
automate-project-columns:
runs-on: ubuntu-latest
steps:
- name: Add Zowe Medium blog posts
uses: alex-page/[email protected]
if: |
github.event_name == 'issues' &&
github.event.action == 'opened' &&
contains(github.event.issue.labels.*.name,'zowe-blog')
with:
project: Zowe Medium blog
column: New Blog Post
repo-token: ${{ secrets.YOUR_NEW_PERSONAL_TOKEN }}
- name: Add I Am A Mainframer podcasts
uses: alex-page/[email protected]
if: |
github.event_name == 'issues' &&
github.event.action == 'opened' &&
contains(github.event.issue.labels.*.name,'podcast')
with:
project: I am a Mainframer Podcast
column: Potential Speakers
repo-token: ${{ secrets.YOUR_NEW_PERSONAL_TOKEN }}