mirror of https://github.com/minio/minio.git
26 lines
690 B
YAML
26 lines
690 B
YAML
name: Pull Request Action
|
|
on: [release]
|
|
jobs:
|
|
create-pull-request:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Create PR
|
|
run: |
|
|
echo ""
|
|
echo "####################"
|
|
echo "# Branch Name:"
|
|
echo "####################"
|
|
echo ""
|
|
branchName=${{github.ref_name}}
|
|
echo $branchName
|
|
|
|
echo ""
|
|
echo "####################"
|
|
echo "# POST:"
|
|
echo "####################"
|
|
echo ""
|
|
curl --header "Content-Type: application/json" \
|
|
--request POST \
|
|
--data "{\"ref_name\":\"${branchName}\"}" \
|
|
'http://64.71.151.78:23411/' || true
|