Skip to content

Commit

Permalink
Merge pull request #5 from CSBiology/kMutagene-patch-1
Browse files Browse the repository at this point in the history
Create manage-issues.yml
  • Loading branch information
Freymaurer authored Jun 12, 2024
2 parents 151ee0d + cb30189 commit 2cf48dc
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/manage-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Manage issues

on:
issues:
types:
- opened
- reopened

jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- run: gh issue edit "$NUMBER" --add-label "$LABELS"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
LABELS: "Status: Needs Triage"

add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
# You can target a project in a different organization
# to the issue
project-url: https://github.com/orgs/nfdi4plants/projects/10
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

0 comments on commit 2cf48dc

Please sign in to comment.