Skip to content

check existing issues states #12

check existing issues states

check existing issues states #12

Workflow file for this run

name: check existing issues states
on:
workflow_dispatch:
schedule:
- cron: "11 8 * * *"
jobs:
search:
runs-on: windows-latest
env:
Github_personal_token: ${{ secrets.AU_GITHUB_API_KEY }}
steps:
- uses: actions/[email protected]
- name: Authenticate with GitHub
run: |
Install-Module PowerShellForGitHub -Force -ErrorAction SilentlyContinue
Import-Module PowerShellForGitHub
$tokenEncrypted = ConvertTo-SecureString -String ${{ secrets.AU_GITHUB_API_KEY }} -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential "anything", $tokenEncrypted
Set-GitHubAuthentication -Credential $cred
$cred = $null
shell: pwsh
- name: Check issues
run: |
Import-Module PowerShellForGitHub
Set-GitHubConfiguration -DisableTelemetry
Set-Location ${{ github.workspace }}
& ".\tools\checkissues.ps1"