mirror of
https://github.com/logos-storage/logos-storage-pm.git
synced 2026-01-02 13:33:12 +00:00
35 lines
788 B
YAML
35 lines
788 B
YAML
name: Restore Labels
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
restore-labels:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.x
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install requests
|
|
|
|
- name: Restore Labels
|
|
run: |
|
|
python .github/scripts/restore_labels.py
|
|
env:
|
|
GH_PAT: ${{ secrets.SYNC_LABELS2 }}
|
|
working-directory: ${{ github.workspace }}
|
|
|
|
- name: Upload issue events as artifact
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: issue-events
|
|
path: issue_events.json |