File tree 4 files changed +47
-33
lines changed
4 files changed +47
-33
lines changed Original file line number Diff line number Diff line change 1
1
name : Manage issues and pull requests in projects
2
2
on :
3
- workflow_dispatch :
4
3
schedule :
5
4
- cron : " 45 * * * *" # Hourly at 45 minutes past the hour (**:45)
5
+ workflow_dispatch :
6
+
6
7
jobs :
7
8
8
9
manage_issues_and_pull_requests :
@@ -26,17 +27,14 @@ jobs:
26
27
uses : actions/checkout@v4
27
28
28
29
- name : Install Python dependencies
29
- run : |
30
- pipenv sync --dev --system
30
+ run : pipenv sync --dev --system
31
31
32
32
- name : ' run script to move closed issues to Active Sprint: Done'
33
- run : |
34
- ./move_closed_issues.py
33
+ run : ./move_closed_issues.py
35
34
env :
36
35
ADMIN_GITHUB_TOKEN : ${{ secrets.ADMIN_GITHUB_TOKEN }}
37
36
38
- - name : run script to track open issues and pull requests
39
- run : |
40
- ./track_issues_and_pull_requests.py
37
+ - name : run script to track open untriaged issues and pull requests
38
+ run : ./track_issues_and_pull_requests.py
41
39
env :
42
40
ADMIN_GITHUB_TOKEN : ${{ secrets.ADMIN_GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
name : Normalize Repos
2
2
on :
3
- workflow_dispatch :
4
3
schedule :
5
4
- cron : ' 0 0 * * *' # Daily at midnight (00:00)
6
- push :
7
- branches :
8
- - main
5
+ workflow_dispatch :
6
+
9
7
jobs :
10
8
normalize_repos :
11
9
runs-on : ubuntu-latest
12
10
steps :
11
+
12
+ # https://github.com/actions/setup-python
13
13
- name : Setup Python 3.11
14
14
uses : actions/setup-python@v5
15
15
with :
16
16
python-version : ' 3.11'
17
+
17
18
- name : Install system dependencies
18
19
run : |
19
20
python -m pip install --upgrade pip
20
21
python -m pip install pipenv
22
+
23
+ # https://github.com/actions/checkout
21
24
- uses : actions/checkout@v4
22
25
with :
23
26
token : ${{ secrets.ADMIN_GITHUB_TOKEN }}
27
+
24
28
- name : Install app dependencies
25
- run : |
26
- pipenv sync
29
+ run : pipenv sync
30
+
27
31
- name : Run script with token in env
28
- run : |
29
- pipenv run ./normalize_repos.py
32
+ run : pipenv run ./normalize_repos.py
30
33
env :
31
34
ADMIN_GITHUB_TOKEN : ${{ secrets.ADMIN_GITHUB_TOKEN }}
35
+
32
36
- name : Export a report of invalid issues
33
37
uses : actions/upload-artifact@v4
34
38
with :
35
39
name : invalid-issue-report
36
40
path : /tmp/invalid_issues.yml
37
- - uses : gautamkrishnar/keepalive-workflow@v1
41
+
42
+ # https://github.com/gautamkrishnar/keepalive-workflow
43
+ - uses : gautamkrishnar/keepalive-workflow@v2
38
44
with :
39
45
committer_username : cc-open-source-bot
40
46
committer_email : opensource@creativecommons.org
Original file line number Diff line number Diff line change @@ -2,28 +2,33 @@ name: Push data to CC Open Source
2
2
on :
3
3
schedule :
4
4
- cron : ' 15 0 * * *' # Daily at midnight:15 (00:15)
5
- push :
6
- branches :
7
- - main
5
+ workflow_dispatch :
6
+
8
7
jobs :
9
8
push_data :
10
9
runs-on : ubuntu-latest
11
10
steps :
11
+
12
+ # https://github.com/actions/setup-python
12
13
- name : Setup Python 3.11
13
14
uses : actions/setup-python@v5
14
15
with :
15
16
python-version : ' 3.11'
17
+
16
18
- name : Install system dependencies
17
19
run : |
18
20
python -m pip install --upgrade pip
19
21
python -m pip install pipenv
20
- - uses : actions/checkout@v4
22
+
23
+ # https://github.com/actions/checkout
24
+ - name : Checkout repository
25
+ uses : actions/checkout@v4
26
+
21
27
- name : Install app dependencies
22
- run : |
23
- pipenv sync
28
+ run : pipenv sync
29
+
24
30
- name : Run script with tokens in env
25
- run : |
26
- pipenv run ./push_data_to_ccos.py
31
+ run : pipenv run ./push_data_to_ccos.py
27
32
env :
28
33
ADMIN_GITHUB_TOKEN : ${{ secrets.ADMIN_GITHUB_TOKEN }}
29
34
ADMIN_ASANA_TOKEN : ${{ secrets.ADMIN_ASANA_TOKEN }}
Original file line number Diff line number Diff line change @@ -2,28 +2,33 @@ name: Sync Community Teams with GitHub
2
2
on :
3
3
schedule :
4
4
- cron : ' 30 0 * * *' # Daily at midnight:30 (00:30)
5
- push :
6
- branches :
7
- - main
5
+ workflow_dispatch :
6
+
8
7
jobs :
9
8
sync_community_teams :
10
9
runs-on : ubuntu-latest
11
10
steps :
11
+
12
+ # https://github.com/actions/setup-python
12
13
- name : Setup Python 3.11
13
14
uses : actions/setup-python@v5
14
15
with :
15
16
python-version : ' 3.11'
17
+
16
18
- name : Install system dependencies
17
19
run : |
18
20
python -m pip install --upgrade pip
19
21
python -m pip install pipenv
20
- - uses : actions/checkout@v4
22
+
23
+ # https://github.com/actions/checkout
24
+ - name : Checkout repository
25
+ uses : actions/checkout@v4
26
+
21
27
- name : Install app dependencies
22
- run : |
23
- pipenv sync
28
+ run : pipenv sync
29
+
24
30
- name : Run script with tokens in env
25
- run : |
26
- pipenv run ./sync_community_teams.py
31
+ run : pipenv run ./sync_community_teams.py
27
32
env :
28
33
ADMIN_GITHUB_TOKEN : ${{ secrets.ADMIN_GITHUB_TOKEN }}
29
34
ADMIN_ASANA_TOKEN : ${{ secrets.ADMIN_ASANA_TOKEN }}
You can’t perform that action at this time.
0 commit comments