mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-11 18:18:37 +02:00
CI: fix git repo
This commit is contained in:
@@ -47,9 +47,11 @@ jobs:
|
||||
id: existing
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
REPO: ${{ github.repository }}
|
||||
run: |
|
||||
PR_NUMBER=$(gh pr list \
|
||||
--base main \
|
||||
--repo "$REPO" \
|
||||
--head "${{ steps.branch.outputs.source }}" \
|
||||
--state open \
|
||||
--json number \
|
||||
@@ -65,6 +67,7 @@ jobs:
|
||||
run: |
|
||||
PR_URL=$(gh pr create \
|
||||
--base main \
|
||||
--repo "$REPO" \
|
||||
--head "${{ steps.branch.outputs.source }}" \
|
||||
--title "Weekly sync: ${{ steps.branch.outputs.source }} → main" \
|
||||
--body "$(cat <<EOF
|
||||
@@ -97,5 +100,6 @@ jobs:
|
||||
run: |
|
||||
gh pr merge \
|
||||
"${{ steps.final.outputs.number }}" \
|
||||
--repo "$REPO" \
|
||||
--auto \
|
||||
--merge
|
||||
|
||||
Reference in New Issue
Block a user