Skip to content

Create/update release pull request #138

Create/update release pull request

Create/update release pull request #138

Workflow file for this run

name: Release pull request
on:
workflow_dispatch:
env:
YALESITES_BUILD_TOKEN: ${{ secrets.YALESITES_BUILD_TOKEN }}
GH_TOKEN: ${{ secrets.YALESITES_BUILD_TOKEN }}
ACCESS_TOKEN: ${{ secrets.YALESITES_BUILD_TOKEN }}
REPO: ${{ github.repository }}
PR_NUMBER: ${{ github.event.number }}
RELEASE_PR_URL: ${{ github.event.pull_request._links.html.href }}
RELEASE_SITES: ${{ vars.RELEASE_SITES }}
jobs:
get_next_release_version:
runs-on: ubuntu-latest
steps:
- name: Parse vars
run: |
# Get release sites and convert to an array.
echo "...........\r\n"
echo "$RELEASE_SITES"
echo "...........\r\n"
release_sites=$(echo "$RELEASE_SITES" | tr -d '\r')
readarray -t sites_array <<< "$release_sites"
echo "...........\r\n"
echo "${sites_array[@]}"
echo "...........\r\n"