mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Generate Flex endpoint
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
name: Closing PR
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [ closed ]
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
jobs:
|
||||
|
||||
cleanup:
|
||||
name: Cleanup
|
||||
runs-on: Ubuntu-20.04
|
||||
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
id: checkout
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
-
|
||||
name: Cleanup Flex testing endpoint
|
||||
run: |
|
||||
git branch -r --list 'origin/flex-pull-${{ github.event.number }}/*' \
|
||||
| sed 's/[^/]*\//:/' \
|
||||
| xargs -r git push origin :flex/pull-${{ github.event.number }} || true
|
||||
Reference in New Issue
Block a user