mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-25 15:38:21 -05:00
Update releases.yml
This commit is contained in:
parent
a301be7cdb
commit
15b0e38e34
8
.github/workflows/releases.yml
vendored
8
.github/workflows/releases.yml
vendored
@ -5,11 +5,11 @@ on:
|
|||||||
- rolling
|
- rolling
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: "main-branch"
|
group: "rolling-branch"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
changelog:
|
changelog:
|
||||||
if: github.repository == 'neon-mmd/websurfx '
|
if: github.repository == 'neon-mmd/websurfx'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -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 }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user