Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue States and Add to Project Actions #1047

Merged
merged 6 commits into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/add-to-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Add enhancement and bug issues to project

on:
issues:
types:
- opened

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@RELEASE_VERSION
with:
# You can target a repository in a different organization
# to the issue
project-url: https://github.com/orgs/CodeEditApp/projects/3
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: enhancement, bug
label-operator: OR
22 changes: 22 additions & 0 deletions .github/workflows/issue-states.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
- name: Issue States
uses: dessant/issue-states@v3.0.0

on:
project_card:
types: [created, edited, moved]

permissions:
repository-projects: read
issues: write
pull-requests: write

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/issue-states@v3
with:
github-token: ${{ github.token }}
open-issue-columns: '📋 Todo, 🏃‍♂️ In Progress'
closed-issue-columns: '🏁 Complete'
log-output: false