-
-
Notifications
You must be signed in to change notification settings - Fork 197
28 lines (26 loc) · 749 Bytes
/
issues.yml
File metadata and controls
28 lines (26 loc) · 749 Bytes
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
name: Issue Automation
on:
issues:
types:
- opened
# map fields with customized labels
env:
inbox: INBOX
refinement: Needs Refinement
refined: Refined & Actionable
assigned: Assigned to Milestone
done: Done
jobs:
issue_opened:
name: New Issue Opened
runs-on: ubuntu-latest
if: github.event_name == 'issues' && github.event.action == 'opened'
steps:
- name: Add issue to ${{ env.inbox }}
uses: leonsteinhaeuser/project-beta-automations@v1.2.1
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
organization: plan-player-analytics
project_id: 3
resource_node_id: ${{ github.event.issue.node_id }}
status_value: ${{ env.inbox }} # Target status