Create Project Branches #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Project Branches | |
on: | |
schedule: | |
- cron: '00 06 25 05 *' # This in UTC, execute Friday 05/24 at 23:00 UTC-07:00 | |
workflow_dispatch: | |
permissions: | |
actions: | |
write | |
contents: write | |
jobs: | |
create_branches: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set Timezone | |
uses: MathRobin/[email protected] | |
with: | |
timezoneLinux: "America/Los_Angeles" | |
timezoneMacos: "America/Los_Angeles" | |
timezoneWindows: "Pacific Standard Time" | |
- name: Set Up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Set up Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade -r requirements.txt | |
- name: Create Branches | |
env: | |
GH_TOKEN: ${{ secrets.RELEASER }} | |
run: | | |
python configure_presentation.py | |