Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/scripts/get-release-timelines.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ rollout_10_at="null"
rollout_100_at="null"

runway_release_id="${RUNWAY_APP_ID}:${VERSION}"
release_submitted_at=$(curl --silent --header "X-API-Key: ${RUNWAY_API_KEY}" "https://api.runway.team/v1/app/${RUNWAY_APP_ID}/release/${runway_release_id}" | jq -r '.submittedAt')
release_submitted_at=$(curl --silent --header "X-API-Key: ${RUNWAY_API_KEY}" "https://api.runway.team/v1/app/${RUNWAY_APP_ID}/release/${runway_release_id}" | jq -r '.completedAt')

release_label="regression-RC-${VERSION}"
release_blockers=$(gh issue list --repo "${OWNER}/${REPOSITORY}" --state all --label "release-blocker,${release_label}" --limit 100 --json number,createdAt)
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/get-release-timelines-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
version:
required: true
type: string
description: 'The version of the release'
description: The version of the release

jobs:
get-release-timelines:
uses: ./.github/workflows/get-release-timelines.yml
with:
version: ${{ github.event.inputs.version }}
version: ${{ inputs.version }}
secrets:
RUNWAY_APP_ID: ''
RUNWAY_API_KEY: ''
RUNWAY_APP_ID: ${{ secrets.RUNWAY_APP_ID }}
RUNWAY_API_KEY: ${{ secrets.RUNWAY_API_KEY }}
6 changes: 3 additions & 3 deletions .github/workflows/get-release-timelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
version:
required: true
type: string
description: 'The version of the release'
description: The version of the release
secrets:
RUNWAY_APP_ID:
required: true
Expand All @@ -27,8 +27,8 @@ jobs:
OWNER: ${{ github.repository_owner }}
REPOSITORY: ${{ github.event.repository.name }}
VERSION: ${{ inputs.version }}
RUNWAY_APP_ID: ${{ secrets.RUNWAY_APP_ID || '-' }}
RUNWAY_API_KEY: ${{ secrets.RUNWAY_API_KEY || '-' }}
RUNWAY_APP_ID: ${{ secrets.RUNWAY_APP_ID }}
RUNWAY_API_KEY: ${{ secrets.RUNWAY_API_KEY }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: .github/scripts/get-release-timelines.sh

Expand Down
Loading