-
Notifications
You must be signed in to change notification settings - Fork 62
36 lines (33 loc) · 987 Bytes
/
add-link.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
on:
issues:
types:
- opened
workflow_dispatch:
concurrency: add-link
jobs:
update_issue:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
issues: write
steps:
- uses: actions/checkout@v4
- name: Process new link request
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
shell: pwsh
run: |
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module -Name PowerShellForGitHub
Set-GitHubConfiguration -DisableTelemetry
. ./build/scripts/AkaUtils.ps1
Set-AkaGitHubAuth
Update-AllOpenGitHubIssues
Write-PublicSiteData
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "generated"
git push