Skip to content

Commit 9fa6e89

Browse files
author
Djubáh
authored
Update move-existing-issues-to-the-correct-repo.yml
Move existing issues to the correct repository, you suppository! ;)
1 parent 0a40568 commit 9fa6e89

1 file changed

Lines changed: 86 additions & 0 deletions

File tree

.github/workflows/move-existing-issues-to-the-correct-repo.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,73 @@ name: Move existing issues to correct docs repo
44
# **Why we have it**: We don't want engineering or content issues in the docs-internal repo
55
# **Who does it impact**: GitHub staff.
66

7+
- name: SecureStack Application Composition Analysis
8+
# You may pin to the exact commit or the version.
9+
# uses: SecureStackCo/actions-code@c2c35840882d041474c505c1045da157025cd57e
10+
uses: SecureStackCo/actions-code@v0.1.1
11+
with:
12+
# SecureStack API key - generate an API key at https://app.securestack.com
13+
securestack_api_key:
14+
# SecureStack Application ID - can be retrieved by accessing required application at https://app.securestack.com
15+
securestack_app_id:
16+
# Severities lower than this value will be reported in the workflow console but will not cause an error for the action; value should be one of: critical | high | medium | low
17+
severity:
18+
# Severities lower than this value will be reported in the workflow console but will not cause an error for the action; value should be one of: critical | high | medium | low
19+
language:
20+
# Optional flags for the bloodhound-cli code command - run bloodhound cli code --help for more details
21+
flags: # optional, default is
22+
23+
24+
- name: tf-siesta
25+
# You may pin to the exact commit or the version.
26+
# uses: Typeform/siesta@ef96b0b260f3a98848aee6b847288a9eb7b4bd20
27+
uses: Typeform/siesta@v1.3
28+
with:
29+
# string, contents of credentials.json
30+
google-credentials:
31+
# string, contents of token.json
32+
google-token:
33+
# string, the calendar id to check. If not specified, will take the primary calendar of that account
34+
google-calendar-id: # optional
35+
# string, in case the calendar is busy with events at the given timeframe, this message will be displayed in the github error
36+
custom-calendar-busy-message: # optional
37+
# string, in case the calendar is not busy with events at the given timeframe, this message will be displayed in the console log
38+
custom-calendar-not-busy-message: # optional
39+
# boolean, controls if the build should fail if the calendar is busy. Needs hard-failure in true. default is true
40+
fail-if-busy: # optional
41+
# boolean, if true, fails the build on any error. If false, throws an warning instead.
42+
hard-failure: # optional
43+
# the interval of time, starting from the moment of execution, on which to check that the calendar is busy. Default 0.1 seconds.
44+
minutes-interval: # optional
45+
46+
47+
- name: Priority List
48+
# You may pin to the exact commit or the version.
49+
# uses: iterative/priority-list@646ca456f8a08495ae4c6259bd20ab274b9eaa03
50+
uses: iterative/priority-list@v1.0.2
51+
with:
52+
# Token with read access to all analysed repos
53+
github-token:
54+
#
55+
repos:
56+
# weight for number of comments
57+
weight_activity: # default is 14
58+
# weight for reactions to original issue
59+
weight_reactions: # default is 7
60+
# weight for days of inactivity
61+
weight_staleness: # default is 1
62+
# weight for days open
63+
weight_age: # default is 0.142857
64+
# weight multiplier for PRs (compared to issues)
65+
multiplier_pr: # default is 7
66+
# weight multiplier for labels (negative to exclude)
67+
multiplier_labels: # default is example:-1 epic:0.142857 blocked:0.142857 invalid:0.142857
68+
# largest pN-label (lowest priority)
69+
p_label_graveyard: # default is 4
70+
# URL to post slack payload to (requires `people.json`)
71+
slack_webhook: # optional
72+
73+
774
on:
875
workflow_dispatch:
976

@@ -32,6 +99,25 @@ jobs:
3299
repo: correctRepo
33100
})
34101
102+
- name: Setup Go environment
103+
uses: actions/setup-go@v5.5.0
104+
with:
105+
# The Go version to download (if necessary) and use. Supports semver spec and ranges. Be sure to enclose this option in single quotation marks.
106+
go-version: # optional
107+
# Path to the go.mod or go.work file.
108+
go-version-file: # optional
109+
# Set this option to true if you want the action to always check for the latest available version that satisfies the version spec
110+
check-latest: # optional
111+
# Used to pull Go distributions from go-versions. Since there's a default, this is typically not supplied by the user. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
112+
token: # optional, default is ${{ github.server_url == 'https://github.com' && github.token || '' }}
113+
# Used to specify whether caching is needed. Set to true, if you'd like to enable caching.
114+
cache: # optional, default is true
115+
# Used to specify the path to a dependency file - go.sum
116+
cache-dependency-path: # optional
117+
# Target architecture for Go to use. Examples: x86, x64. Will use system architecture by default.
118+
architecture: # optional
119+
120+
35121
const allIssues = await github.paginate(github.rest.issues.listForRepo, {
36122
owner: owner,
37123
repo: originalRepo,

0 commit comments

Comments
 (0)