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