mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2025-03-03 21:37:12 +00:00
fix: pr remote rejection due to name restriction
Found this https://github.com/orgs/community/discussions/61107#discussioncomment-6591355
This commit is contained in:
parent
232b45e6a6
commit
0a11528a00
5
.github/workflows/preview.yml
vendored
5
.github/workflows/preview.yml
vendored
|
@ -54,6 +54,7 @@ jobs:
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
mv linutil build/linutil
|
mv linutil build/linutil
|
||||||
echo "${{ github.workspace }}/build" >> $GITHUB_PATH
|
echo "${{ github.workspace }}/build" >> $GITHUB_PATH
|
||||||
|
echo "branch_name=${{ env.tag_name }}" | tr . - >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Generate preview
|
- name: Generate preview
|
||||||
uses: charmbracelet/vhs-action@v2.1.0
|
uses: charmbracelet/vhs-action@v2.1.0
|
||||||
|
@ -67,11 +68,11 @@ jobs:
|
||||||
uses: peter-evans/create-pull-request@v7.0.5
|
uses: peter-evans/create-pull-request@v7.0.5
|
||||||
with:
|
with:
|
||||||
commit-message: Preview for ${{ env.tag_name }}
|
commit-message: Preview for ${{ env.tag_name }}
|
||||||
branch: feature/preview-${{ env.tag_name }}
|
branch: preview-${{ env.branch_name }}
|
||||||
title: "Update preview for ${{ env.tag_name }}"
|
title: "Update preview for ${{ env.tag_name }}"
|
||||||
labels: |
|
labels: |
|
||||||
documentation
|
documentation
|
||||||
body: |
|
body: |
|
||||||
Automated PR to update preview gif for version ${{ env.tag_name }}
|
Automated PR to update preview gif for version ${{ env.tag_name }}
|
||||||

|

|
||||||
if: success()
|
if: success()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user