forked from codinasion/codinasion
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 1.11 KB
/
auto-track-dsa-issue.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
35
36
37
38
39
40
41
42
43
name: Auto Track DSA Issue
on:
issues:
types: [labeled]
jobs:
auto_track_issue:
if: github.event.label.name == 'auto-track-dsa'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.PAT }}
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v2
with:
path: node_modules
key: node-modules-${{ hashFiles('yarn.lock') }}
- name: Yarn
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: |
yarn
- name: Issue data
run: |
echo "Issue number : ${{ github.event.issue.number }}"
echo "Issue title : ${{ github.event.issue.title }}"
echo "Issue body : ${{ github.event.issue.body }}"
- name: Track DSA Issue
uses: ./action/
with:
ISSUE_NUMBER: ${{ github.event.issue.number }}
ISSUE_TITLE: ${{ github.event.issue.title }}
ISSUE_BODY: ${{ github.event.issue.body }}
AUTO_TRACK_DSA_ISSUE: true
TOKEN: ${{ secrets.PAT }}