Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/add-update-label-weekly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Add Update Label Weekly - ATO

# Customization notes:
# ⓵ CUSTOMIZE: Change cron. Currently runs Fri 0700 UTC, exc. July and December
# ⮡ You can compose a schedule here: https://crontab.cronhub.io/
# ⓶ CUSTOMIZE: Change to your project repo name
# ⓷ Confirm that this is the most recent version

on:
schedule:
- cron: '0 7 * 1-6,8-11 5' # ⓵
workflow_dispatch:
inputs:
dry-run:
description: 'Run in dry-run mode without posting comments or updating issues'
type: choice
options:
- 'true'
- 'false'
default: 'true'

jobs:
Add-Update-Label-Weekly:
runs-on: ubuntu-latest
if: github.repository == 'hackforla/website' # ⓶
steps:
- name: Generate token from GitHub App
id: generate-app-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ secrets.HFLA_GRAPHQL_APP_ID }}
private-key: ${{ secrets.HFLA_GRAPHQL_APP_PRIVATE_KEY }}

- name: Checkout repository
uses: actions/checkout@v5

- name: Run workflow
uses: hackforla/automate-the-org/add-update-label-weekly@v0.5.0 # ⓷
with:
github-token: ${{ steps.generate-app-token.outputs.token }}
dry-run: ${{ github.event.inputs.dry-run || 'true' }}
Loading
Loading