Skip to content

Caching mechanism and streaming #159

Caching mechanism and streaming

Caching mechanism and streaming #159

Workflow file for this run

name: Assign Milestone
on:
issues:
types: [opened, reopened]
pull_request:
types: [opened, reopened]
jobs:
assign-milestone:
if: ${{ github.event.pull_request.draft == false && !startsWith(github.event.pull_request, 'BUMP')&& !startsWith(github.event.pull_request, 'Bump') && !startsWith(github.head_ref, 'release/') && github.event_name == 'pull_request'}}
name: Assign Milestone
env:
repo: ${{ github.head_ref }}
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v3
- name: Assign Milestone
env:
GH_TOKEN: ${{ secrets.PARALLELS_WORKFLOW_PAT }}
run: |
gh extension install valeriobelli/gh-milestone
NEXT_MILESTONE=$(gh milestone list --json title --jq ".[-1].title")
if [ -n "$NEXT_MILESTONE" ]; then
gh pr edit ${{ env.repo }} --milestone "$NEXT_MILESTONE"
fi