Update get-python-versions.yml

This commit is contained in:
மனோஜ்குமார் பழனிச்சாமி 2022-04-09 11:23:38 +05:30 committed by GitHub
parent 4e2c5f75b5
commit 80ef05deaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ jobs:
Write-Host "No new versions were found"
Import-Module "./helpers/github/github-api.psm1"
$gitHubApi = Get-GitHubApi -RepositoryFullName "$env:GITHUB_REPOSITORY" `
-AccessToken "${{ GITHUB_TOKEN }}"
-AccessToken "${{ secrets.GITHUB_TOKEN }}"
$gitHubApi.CancelWorkflow("$env:GITHUB_RUN_ID")
Start-Sleep -Seconds 60
- name: Send Slack notification