Skip to content

Commit

Permalink
ci: 👷 add workflow to auto-add PRs and Issues to board
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjohnst86 committed Sep 22, 2024
1 parent 93b8ecf commit ed8841a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Add to project board

on:
issues:
types:
- opened
- reopened
- transferred
pull_request:
types:
- reopened
- opened

permissions:
pull-requests: write

jobs:
add-to-project:
name: Add to project
runs-on: ubuntu-latest
steps:
- name: Add issue or PR to upcoming course board
uses: actions/[email protected]
with:
project-url: https://github.com/orgs/${{ github.repository_owner }}/projects/12
github-token: ${{ secrets.ADD_TO_BOARD }}

0 comments on commit ed8841a

Please sign in to comment.