Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bulk quest import

bulk quest import #867

Workflow file for this run

name:"bulk quest import"
on:
schedule:
-cron:'30 10 1-5,7-31 * *'# UTC time, that's 5:30 am EST, 2:30 am PST.
-cron:'30 10 6 * *'# This is the morning of the 6th.
workflow_dispatch:
inputs:
reason:
description:"The reason for running the bulk import workflow"
required:true
default:"Initial import into Quest (Azure DevOps)"
duration:
description:"The number of days to import issues for. Defaults to 5 days."
required:false
default:"5"
jobs:
bulk-import:
runs-on:ubuntu-latest
permissions:
issues:write
id-token:write
pull-requests:write
if:${{ github.repository_owner == 'dotnet' }}
steps:
-name:"Print manual bulk import run reason"
if:${{ github.event_name == 'workflow_dispatch' }}
run:|
echo "Reason: ${{ github.event.inputs.reason }}"
-name:Azure OpenID Connect
id:azure-oidc-auth
uses:dotnet/docs-tools/.github/actions/oidc-auth-flow@main
with:
client-id:${{ secrets.CLIENT_ID }}
tenant-id:${{ secrets.TENANT_ID }}
audience:${{ secrets.OSMP_API_AUDIENCE }}
-name:bulk-sequester
id:bulk-sequester
uses:dotnet/docs-tools/actions/sequester@main
env:
ImportOptions__ApiKeys__GitHubToken:${{ secrets.GITHUB_TOKEN }}
ImportOptions__ApiKeys__QuestKey:${{ secrets.QUEST_KEY }}
ImportOptions__ApiKeys__AzureAccessToken:${{ steps.azure-oidc-auth.outputs.access-token }}
ImportOptions__ApiKeys__SequesterPrivateKey:${{ secrets.SEQUESTER_PRIVATEKEY }}
ImportOptions__ApiKeys__SequesterAppID:${{ secrets.SEQUESTER_APPID }}
with:
org:${{ github.repository_owner }}
repo:${{ github.repository }}
issue:'-1'
duration:${{ github.event_name == 'workflow_dispatch' && github.event.inputs.duration || github.event.schedule == '30 10 6 * *' && -1 || 5 }}

[8]ページ先頭

©2009-2025 Movatter.jp