We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c89e92f commit 3e917f1Copy full SHA for 3e917f1
scripts/ci/runners/sync_authors.py
@@ -33,10 +33,10 @@
33
#
34
# This script should replace the contents of the array with a new list of
35
# identically formatted names, such that changes to the source of truth:
36
-
37
AUTHORS = 'https://raw.githubusercontent.com/apache/airflow-ci-infra/main/authors.toml'
38
39
-# end up being reflected in the ci.yml.
+# ...end up being reflected in the ci.yml:
+WORKFLOW = '.github/workflows/ci.yml'
40
41
42
req = requests.get(AUTHORS)
@@ -52,8 +52,7 @@
52
53
authors = authors[:-2]
54
55
-with open('ci.yml') as handle:
56
+with open(WORKFLOW) as handle:
57
new_ci = re.sub(
58
r'''
59
^
@@ -72,5 +71,5 @@
72
71
flags=re.DOTALL | re.VERBOSE,
73
)
74
75
-with open('ci.yml', 'w') as handle:
+with open(WORKFLOW, 'w') as handle:
76
handle.write(new_ci)
0 commit comments