mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 02:31:45 +01:00
ci: fix release build
This commit is contained in:
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
@@ -218,7 +218,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload self-contained executable
|
- name: Upload self-contained executable
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
if: github.ref_name == 'main' && matrix.PUBLISH_RELEASE && !env.ACT
|
if: (github.ref_name == 'main' || github.ref_name == 'release') && matrix.PUBLISH_RELEASE && !env.ACT
|
||||||
with:
|
with:
|
||||||
name: artifacts-${{ matrix.os }}
|
name: artifacts-${{ matrix.os }}
|
||||||
path: dist/kleinanzeigen-bot*
|
path: dist/kleinanzeigen-bot*
|
||||||
@@ -366,7 +366,24 @@ jobs:
|
|||||||
if: github.event_name == 'pull_request' && github.actor == 'dependabot[bot]'
|
if: github.event_name == 'pull_request' && github.actor == 'dependabot[bot]'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
concurrency: dependabot-pr-auto-merge
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Merge Dependabot PR
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
PR_URL: ${{github.event.pull_request.html_url}}
|
||||||
|
run: gh pr merge --auto --rebase "$PR_URL"
|
||||||
|
|
||||||
|
|
||||||
|
###########################################################
|
||||||
|
pdm-pr-auto-merge:
|
||||||
|
###########################################################
|
||||||
|
needs: build
|
||||||
|
if: github.event_name == 'pull_request' && github.actor == 'kleinanzeigen-bot-tu[bot]' && github.head_ref == 'dependencies/pdm'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -377,5 +394,4 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
PR_URL: ${{github.event.pull_request.html_url}}
|
PR_URL: ${{github.event.pull_request.html_url}}
|
||||||
run: |
|
run: gh pr merge --auto --rebase "$PR_URL"
|
||||||
gh pr merge --auto --rebase "$PR_URL"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user