chore(deps): update dependency system.io.abstractions to v21 #124
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ✅Sync Status Check | |
defaults: | |
run: | |
shell: pwsh | |
on: | |
pull_request_target: | |
branches: [main, preview] | |
jobs: | |
sync_status_check: | |
name: Sync Status Check | |
if: startsWith(github.head_ref, 'feature/') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set Up Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: ${{ vars.DENO_VERSION }} | |
- name: Run Sync Status Check | |
run: | | |
$scriptUrl = "${{ vars.SCRIPT_BASE_URL }}/${{ vars.CICD_SCRIPTS_VERSION }}/${{ vars.SCRIPT_RELATIVE_DIR_PATH}}/sync-bot-status-check.ts"; | |
$prNumber = "${{ github.event.number }}"; | |
Write-Host "::notice::Project Name: ${{ vars.PROJECT_NAME }}"; | |
Write-Host "::notice::PR Number: $prNumber"; | |
Write-Host "::notice::Event Type: pr"; | |
if ($manuallyExecuted -and $prNumber -eq "0") { | |
Write-Host "::notice::The issue or PR number must be a value greater than 0."; | |
exit 1; | |
} | |
<# Deno Args: | |
1. Organization name | |
2. Project name | |
3. Pull request number | |
4. Event Type - set to pull request event type | |
5. PAT | |
#> | |
deno run ` | |
--allow-net ` | |
"$scriptUrl" ` | |
"${{ vars.ORGANIZATION_NAME }}" ` | |
"${{ vars.PROJECT_NAME }}" ` | |
"$prNumber" ` | |
"pr" ` | |
"${{ secrets.CICD_TOKEN }}"; |