Skip to content

Commit

Permalink
Add workflow to auto-add issues to bounties platform project
Browse files Browse the repository at this point in the history
Since we've separated the frontend from the backend, we must track 2 repos in our bounties platform project. The free version of github only allows the project to reference one repo for free. So we are implementing this workflow to have issues be auto-added to the bounties project board from a second repo.

This workflow uses a PAT that must be renewed 1/25/25.
  • Loading branch information
ecurrencyhodler authored Jan 26, 2024
1 parent 5fc5ef8 commit c37b042
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/add_issues_to_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Since we've separated the frontend from the backend, we must track 2 repos in our bounties platform project. The free version of github only allows the project to reference one repo for free. So we are implementing this workflow to have issues be auto-added to the bounties platform project board from a second repo.

name: Add issues labeled `bounties` to bounties platform project

on:
issues:
types:
- opened

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/stakwork/projects/24
github-token: ${{ secrets.ADD_TO_PROJECT }}
labeled: bounties

0 comments on commit c37b042

Please sign in to comment.