You've already forked ReleaseNotifiableRepo
28 lines
724 B
YAML
28 lines
724 B
YAML
name: Create Repo from Issue
|
|
|
|
on:
|
|
issues:
|
|
types: [opened]
|
|
|
|
jobs:
|
|
create-repo:
|
|
if: github.event.issue.title == 'New Repo Request'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.12"
|
|
|
|
- name: Create repo from issue
|
|
env:
|
|
ALLSPICE_TOKEN: ${{ secrets.ALLSPICE_TOKEN }}
|
|
ALLSPICE_URL: https://hub.allspice.io
|
|
ISSUE_BODY: ${{ github.event.issue.body }}
|
|
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
|
WORKFLOW_REPO: ${{ github.repository }}
|
|
run: python .allspice/create_repo.py |