-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (39 loc) · 1.35 KB
/
weekly_mission_tracker_action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Weekly Gugles Mission Tracker
on:
schedule:
- cron: "1 15 * * 0"
workflow_dispatch:
jobs:
run_gugles_mission_tracker:
runs-on: ubuntu-latest
env:
CREW_NUM: ${{ secrets.CREW_NUM }}
GITHUB_TOKEN: ${{ secrets.USER_TOKEN }}
GSPREAD_CREDENTIAL_KEY: ${{ secrets.GSPREAD_CREDENTIAL_KEY }}
TEST_CATEGORY_ID: ${{ secrets.TEST_CATEGORY_ID }}
CATEGORIES: ${{ secrets.CATEGORIES }}
APOLOGY_CATEGORY: ${{ secrets.APOLOGY_CATEGORY }}
ANNOUNCEMENT_CATEGORY_ID: ${{ secrets.ANNOUNCEMENT_CATEGORY_ID }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Run gugles_mission_tracker
run: |
poetry run mission_tracker report
env:
CREW_NUM: ${{ env.CREW_NUM }}
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
GSPREAD_CREDENTIAL_KEY: ${{ env.GSPREAD_CREDENTIAL_KEY }}
TEST_CATEGORY_ID: ${{ env.TEST_CATEGORY_ID }}
CATEGORIES: ${{ env.CATEGORIES }}
APOLOGY_CATEGORY: ${{ env.APOLOGY_CATEGORY }}
ANNOUNCEMENT_CATEGORY_ID: ${{ env.ANNOUNCEMENT_CATEGORY_ID }}