mirror of
https://github.com/lutris/lutris
synced 2024-07-01 06:34:26 +00:00
Add CI checks for every commit
This commit is contained in:
parent
467993d41a
commit
5378de4060
3
.github/workflows/static.yml
vendored
3
.github/workflows/static.yml
vendored
|
@ -1,5 +1,4 @@
|
|||
on:
|
||||
pull_request:
|
||||
on: [push, pull_request]
|
||||
|
||||
name: Static Analysis
|
||||
jobs:
|
||||
|
|
|
@ -14,8 +14,8 @@ response = subprocess.check_output(
|
|||
)
|
||||
issues = json.loads(response)
|
||||
for issue in issues:
|
||||
print(f"Locking issue {issue["number"]}")
|
||||
print(f"Locking issue {issue['number']}")
|
||||
subprocess.check_output(
|
||||
f"gh api --method PUT /repos/{OWNER}/{REPO}/issues/{issue["number"]}/lock -f lock_reason='resolved'",
|
||||
f"gh api --method PUT /repos/{OWNER}/{REPO}/issues/{issue['number']}/lock -f lock_reason='resolved'",
|
||||
shell=True,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user