Skip to content

Commit

Permalink
Update sync2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewJeffson committed Oct 8, 2024
1 parent 316dcf1 commit d736349
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/sync2.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
name: Automate Issue Management
# .github/workflows/add-to-project.yml

name: Add to GitHub Project

on:
workflow_dispatch: # Manual trigger
issues:
types:
- opened
- edited
- assigned
- unassigned
- labeled
- unlabeled
- reopened
types: [opened, edited, labeled, unlabeled]
pull_request:
types: [opened, edited, labeled, unlabeled]

jobs:
add_issue_to_project:
add_to_project:
runs-on: ubuntu-latest

steps:
- name: Add issue to GitHub Project
- name: Add Issue or PR to Project
uses: actions/[email protected]
with:
project-url: https://github.com/orgs/Seeed-Studio/projects/17
project-url: 'https://github.com/orgs/Seeed-Studio/projects/17/views/1'
github-token: ${{ secrets.ISSUE_ASSEMBLE }}
content-id: ${{ github.event.issue.node_id }}
labeled: bug
label-operator: NOT
labeled: 'bug,enhancement,question' # Replace with your desired labels
label-operator: 'NOT' # Options: AND, OR, NOT (default is OR)

0 comments on commit d736349

Please sign in to comment.