6 |
|
|
7 |
jobs: |
jobs: |
8 |
changelog: |
changelog: |
9 |
if: github.repository_owner == 'Upvision' |
if: github.repository_owner == 'onesoft-sudo' |
10 |
runs-on: ubuntu-latest |
runs-on: ubuntu-latest |
11 |
|
|
12 |
steps: |
steps: |
13 |
- uses: actions/checkout@v2 |
- uses: actions/checkout@v3 |
14 |
|
|
15 |
- name: Conventional Changelog Action |
- name: Conventional Release Action |
16 |
id: changelog |
id: release |
17 |
uses: TriPSs/[email protected] |
uses: TriPSs/[email protected] |
18 |
with: |
with: |
19 |
github-token: ${{ secrets.CHANGELOG_RELEASE }} |
github-token: ${{ secrets.AUTO_RELEASE_TOKEN }} |
20 |
version-file: './package.json,./package-lock.json' |
version-file: './package.json,./package-lock.json' |
21 |
|
output-file: './CHANGELOG.md' |
22 |
|
release-count: 0 |
23 |
|
git-user-name: "Conventional Release Action" |
24 |
|
git-user-email: [email protected] |
25 |
|
|
26 |
- name: Create Release |
- name: Create Release |
27 |
uses: actions/create-release@v1 |
uses: actions/create-release@v1 |
28 |
if: ${{ steps.changelog.outputs.skipped == 'false' }} |
if: ${{ steps.changelog.outputs.skipped == 'false' }} |
29 |
env: |
env: |
30 |
GITHUB_TOKEN: ${{ secrets.CHANGELOG_RELEASE }} |
GITHUB_TOKEN: ${{ secrets.AUTO_RELEASE_TOKEN }} |
31 |
with: |
with: |
32 |
tag_name: ${{ steps.changelog.outputs.tag }} |
tag_name: ${{ steps.changelog.outputs.tag }} |
33 |
release_name: ${{ steps.changelog.outputs.tag }} |
release_name: ${{ steps.changelog.outputs.tag }} |