0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 05:58:21 -05:00

Update releases.yml

This commit is contained in:
neon_arch 2023-05-12 17:16:37 +00:00 committed by GitHub
parent a301be7cdb
commit 15b0e38e34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ on:
- rolling - rolling
concurrency: concurrency:
group: "main-branch" group: "rolling-branch"
jobs: jobs:
changelog: changelog:
@ -43,7 +43,7 @@ jobs:
uses: TriPSs/conventional-changelog-action@v3 uses: TriPSs/conventional-changelog-action@v3
with: with:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
version-file: "./package.json,./package-lock.json,./config/app.json" version-file: "./Cargo.toml"
git-branch: "release-from-${{ github.sha }}" git-branch: "release-from-${{ github.sha }}"
skip-on-empty: false skip-on-empty: false
skip-git-pull: true skip-git-pull: true
@ -51,7 +51,7 @@ jobs:
# create PR using GitHub CLI # create PR using GitHub CLI
- name: create PR with release info - name: create PR with release info
id: create-pr id: create-pr
run: gh pr create --base main --head release-from-${{ github.sha }} --title 'Merge new release into main' --body 'Created by Github action' run: gh pr create --base main --head release-from-${{ github.sha }} --title 'Merge new release into rolling' --body 'Created by Github action'
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}