Skip to content

Schedule Friday 0700 #71

Schedule Friday 0700

Schedule Friday 0700 #71

name: Schedule Friday 0700
# This action runs at 7:00 UTC/ 0:00 PDT (midnight) every Friday, except during July and December.
on:
schedule:
- cron: '0 7 * 1-6,8-11 5'
workflow_dispatch:
jobs:
Add-Update-Label-to-Issues-Weekly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/github-script@v7
env:
HACKFORLA_ADMIN_TOKEN: ${{ secrets.HACKFORLA_ADMIN_TOKEN }}
with:
github-token: ${{ secrets.HACKFORLA_GRAPHQL_TOKEN }}
script: |
const HACKFORLA_ADMIN_TOKEN = process.env.HACKFORLA_ADMIN_TOKEN;
const script = require('./github-actions/trigger-schedule/add-update-label-weekly/add-label.js');
script({ g: github, c: context }, HACKFORLA_ADMIN_TOKEN);