Skip to content

Close a weekly team update issue #107

Close a weekly team update issue

Close a weekly team update issue #107

name: Close a weekly team update issue
on:
schedule:
# Run every Monday at 8:00
- cron: "00 08 * * MON"
workflow_dispatch:
jobs:
close-sync-issue:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Install dependencies
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install ghapi
- name: Archive team sync
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
run: |
python scripts/archive-team-update.py
- uses: lee-dohm/[email protected]
with:
query: 'label:"type: team-update"'
token: ${{ secrets.ACCESS_TOKEN }}