1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-04-04 13:57:48 +02:00
checkout/.github/workflows/missing-ref-issue.yml
2024-11-17 13:25:26 +02:00

23 lines
579 B
YAML

name: missing-git-ref-issue
on:
workflow_dispatch:
jobs:
open-close-reopen-pr:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Push dummy PR
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
prBranch=oriy/testRefMerge
git branch -d "${prBranch}" 2>/dev/null || true
git checkout -b "${prBranch}"
touch dummy
git commit -am 'test ref merge'
git push --force origin "${prBranch}"
gh pr create --fill-first