mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-12 17:26:19 +00:00
Auto-assign new recipe requests to project board
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
4
.github/ISSUE_TEMPLATE/recipe-request.md
vendored
4
.github/ISSUE_TEMPLATE/recipe-request.md
vendored
@@ -2,9 +2,7 @@
|
||||
name: "\U0001F370 Request a recipe!"
|
||||
about: "I have a request for a fresh recipe \U0001F60B"
|
||||
title: "[recipe] "
|
||||
labels: recipe/request, status/backlog
|
||||
assignees: funkypenguin
|
||||
|
||||
labels: recipe/request, status/backlog, good first issue
|
||||
---
|
||||
|
||||
<!-- You can ignore this section, it's used to make the issue look beautiful.
|
||||
|
||||
21
.github/workflows/add-new-issues-prs-to-projects.yml
vendored
Normal file
21
.github/workflows/add-new-issues-prs-to-projects.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Add new issues/prs to projects
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened, labeled]
|
||||
pull_request:
|
||||
types: [opened, labeled]
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
jobs:
|
||||
assign-recipes-to-project:
|
||||
runs-on: ubuntu-latest
|
||||
name: assign recipes to recipe project
|
||||
steps:
|
||||
- name: Assign issues and pull requests with any "recipe" label to project 1 (recipes)
|
||||
uses: srggrs/assign-one-project-github-action@1.2.0
|
||||
if: |
|
||||
contains(github.event.issue.labels.*.name, 'recipe')
|
||||
with:
|
||||
project: 'https://github.com/geek-cookbook/geek-cookbook/projects/1'
|
||||
@@ -1,4 +1,4 @@
|
||||
!!! tip
|
||||
I share (_with my [sponsors](https://github.com/sponsors/funkypenguin)_) a private "[_premix_](https://geek-cookbook.funkypenguin.co.nz/premix/)" git repository, which includes necessary docker-compose and env files for all published recipes. This means that sponsors can launch any recipe with just a `git pull` and a `docker stack deploy` 👍.
|
||||
I automatically and **instantly** share (_with my [sponsors](https://github.com/sponsors/funkypenguin)_) a private "[_premix_](https://geek-cookbook.funkypenguin.co.nz/premix/)" git repository, which includes necessary docker-compose and env files for all published recipes. This means that sponsors can launch any recipe with just a `git pull` and a `docker stack deploy` 👍.
|
||||
|
||||
🚀 **Update**: Premix now includes an ansible playbook, so that sponsors can deploy an entire stack + recipes, with a single ansible command! (more [here](https://geek-cookbook.funkypenguin.co.nz/premix/ansible/operation/))
|
||||
Reference in New Issue
Block a user