feat(workflow): Make the setup less painful to write
fix fix workflow fix fix fix probably now... fix maybe probably, for sure
This commit is contained in:
@@ -19,15 +19,7 @@ jobs:
|
|||||||
if: github.repository == 'noctalia-dev/community-plugins'
|
if: github.repository == 'noctalia-dev/community-plugins'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
- uses: actions/setup-python@v7
|
- uses: $/.github/workflows/setup/pygithub
|
||||||
with:
|
|
||||||
python-version: '3.14'
|
|
||||||
cache: 'pip'
|
|
||||||
cache-dependency-path: |
|
|
||||||
.github/workflows/scripts/PyGithub-requirement.txt
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: pip install -r .github/workflows/scripts/PyGithub-requirement.txt
|
|
||||||
|
|
||||||
- name: Notify Authors
|
- name: Notify Authors
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -19,15 +19,7 @@ jobs:
|
|||||||
if: github.repository == 'noctalia-dev/community-plugins'
|
if: github.repository == 'noctalia-dev/community-plugins'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
- uses: actions/setup-python@v7
|
- uses: $/.github/workflows/setup/pygithub
|
||||||
with:
|
|
||||||
python-version: '3.14'
|
|
||||||
cache: 'pip'
|
|
||||||
cache-dependency-path: |
|
|
||||||
.github/workflows/scripts/PyGithub-requirement.txt
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: pip install -r .github/workflows/scripts/PyGithub-requirement.txt
|
|
||||||
|
|
||||||
- name: Notify Authors
|
- name: Notify Authors
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -19,15 +19,7 @@ jobs:
|
|||||||
if: github.repository == 'noctalia-dev/community-plugins'
|
if: github.repository == 'noctalia-dev/community-plugins'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
- uses: actions/setup-python@v7
|
- uses: $/.github/workflows/setup/pygithub
|
||||||
with:
|
|
||||||
python-version: '3.14'
|
|
||||||
cache: 'pip'
|
|
||||||
cache-dependency-path: |
|
|
||||||
.github/workflows/scripts/PyGithub-requirement.txt
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: pip install -r .github/workflows/scripts/PyGithub-requirement.txt
|
|
||||||
|
|
||||||
- name: Update Issue Title
|
- name: Update Issue Title
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -25,15 +25,7 @@ jobs:
|
|||||||
if: github.repository == 'noctalia-dev/community-plugins'
|
if: github.repository == 'noctalia-dev/community-plugins'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
- uses: actions/setup-python@v7
|
- uses: $/.github/workflows/setup/pygithub
|
||||||
with:
|
|
||||||
python-version: '3.14'
|
|
||||||
cache: 'pip'
|
|
||||||
cache-dependency-path: |
|
|
||||||
.github/workflows/scripts/PyGithub-requirement.txt
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: pip install -r .github/workflows/scripts/PyGithub-requirement.txt
|
|
||||||
|
|
||||||
- name: Notify Authors
|
- name: Notify Authors
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
name: 'Setup PyGithub'
|
||||||
|
runs:
|
||||||
|
using: 'composite'
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v7
|
||||||
|
- uses: actions/setup-python@v7
|
||||||
|
with:
|
||||||
|
python-version: '3.14'
|
||||||
|
cache: 'pip'
|
||||||
|
cache-dependency-path: |
|
||||||
|
.github/workflows/scripts/PyGithub-requirement.txt
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
shell: bash
|
||||||
|
run: pip install -r .github/workflows/scripts/PyGithub-requirement.txt
|
||||||
|
|
||||||
Reference in New Issue
Block a user