-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
32 lines (28 loc) · 897 Bytes
/
product-map.yml
File metadata and controls
32 lines (28 loc) · 897 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
29
30
31
32
name: Product Map Generation
on:
push:
branches:
- main
pull_request:
jobs:
generate-map:
runs-on: ubuntu-latest
if: false
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
fetch-depth: 100
- name: Get changed Java files
id: changed-files
run: |
FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} -- '*.java' | sed 's|^|\"|' | sed 's|$|\"|' | paste -sd "," -)
if [ -z "$FILES" ]; then FILES="\"dummy.java\""; fi
echo "expected_files=(${FILES})" >> $GITHUB_ENV
echo "Files: ${FILES}"
- name: ProductMap Map Generation
uses: product-map/product-map-action@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
expected_files: ${{ env.expected_files }}
user_email: koppdev@gmail.com