Powershell 7 dosen't work under NT AUTHORITY\NETWORK SERVICE #2483
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: Issue Pre-triage | |
on: | |
schedule: | |
# At 13:00 UTC every day. | |
- cron: '0 13 * * *' | |
issues: | |
types: [opened] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: pwsh | |
env: | |
POWERSHELL_TELEMETRY_OPTOUT: 1 | |
jobs: | |
process-new-issues: | |
name: Process new issues | |
timeout-minutes: 20 | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
issues: write | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: do-work | |
run: | | |
$env:GITHUB_TOKEN = '${{ secrets.GITHUB_TOKEN }}' | |
./tools/issue-mgmt/CloseDupIssues.ps1 |