Skip to content

Commit

Permalink
workflows: add a workflow to add issues to the self-hosted project
Browse files Browse the repository at this point in the history
Based on instructions here:

https://github.com/actions/add-to-project

The idea is that anyone can tag an issue as self-hosting and if that's
so, it'll show up in the corresponding kanban.
  • Loading branch information
jordigh committed May 21, 2024
1 parent 8a67d9f commit 27c8a32
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/self-hosted.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Add self-hosting issues to the self-hosting project

on:
issues:
types:
- opened
- labeled

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/gristlabs/projects/2
github-token: ${{ secrets.SELF_HOSTED_PROJECT }}
labeled: self-hosting

0 comments on commit 27c8a32

Please sign in to comment.