-
-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (40 loc) · 1.13 KB
/
changeset.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
name: Changeset
on:
pull_request:
types: [labeled, synchronize]
workflow_dispatch:
inputs:
type:
description: |
The SemVer type <major|minor|patch> to use when running manually and so
the "changeset:<type>" pull request label won't be used.
required: false
name:
description: |
The package name to use when running manually. If not specified, it will
be determined by looking at the closest package.json to the first changed
file.
required: false
summary:
description: |
The changeset summary to use when running manually. If not specified, the
pull request title will be used.
required: false
jobs:
changeset:
runs-on: ubuntu-latest
timeout-minutes: 5
env:
DEBUG: true
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
persist-credentials: false
- name: Add Changeset
uses: ./
- name: Commit Changes
uses: generates/commit-action@v1.0.2
with:
token: ${{ secrets.GH_PAT }}