Skip to content

Create/update release pull request #139

Create/update release pull request

Create/update release pull request #139

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"
readarray -t sites_array <<< "$(tr -d '\r' <<< "$RELEASE_SITES")"
echo "...........\r\n"
echo "${sites_array[@]}"
echo "...........\r\n"