mirror of
https://codeberg.org/fediverse/fep.git
synced 2026-08-05 19:55:46 +00:00
854ef33092
Note at @fediverse/FEP-Editors - Once this is merged please check it does the right thing. - If you are ok with automating these things, I'll update the description of a facilitators role to just be checking and mergin - finally, can we rename the codeberg group, I just addressed, to FEP-Facilitators Final note: I already configured Woodpecker and the repository. This is to ensure that merging this pull request does not lead to a broken CI, second I might forget the steps ... - [x] Force myself to document the automated process as a FEP Reviewed-on: https://codeberg.org/fediverse/fep/pulls/460 Reviewed-by: silverpill <silverpill@noreply.codeberg.org> Co-authored-by: Helge <helge.krueger@gmail.com> Co-committed-by: Helge <helge.krueger@gmail.com>
18 lines
471 B
Python
Executable File
18 lines
471 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
from tools import get_fep_ids, FepFile
|
|
from tools.issue import create_issue
|
|
import os
|
|
|
|
|
|
owner = os.environ.get("CI_REPO_OWNER")
|
|
repo = os.environ.get("CI_REPO_NAME")
|
|
token = os.environ.get("CODEBERG_API_TOKEN")
|
|
|
|
for slug in get_fep_ids():
|
|
fep_file = FepFile(slug)
|
|
tracking_issue = fep_file.parsed_frontmatter.get("trackingIssue")
|
|
if not tracking_issue:
|
|
print(slug, tracking_issue)
|
|
|
|
create_issue(owner, repo, token, slug) |