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

add needs-triage workflow #1199

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions .devfile/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ FROM python:3-alpine
ENV GOROOT /usr/lib/go

RUN apk add --no-cache --update curl bash jq go git openssh \
&& pip3 install "cython<3.0.0" \
&& pip3 install yq \
&& pip3 install pyyaml \
&& pip3 install jsonschema
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/issue-management.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Issue Management

on:
issues:
types:
- opened
- reopened

env:
ORGANIZATION: devfile
# See https://github.com/orgs/devfile/projects/10/views/1
PROJECT_NUMBER: 10

jobs:
manage_issue_labels:
name: Label issue
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' }}
runs-on: ubuntu-latest
concurrency: issue_labels-${{ github.event.issue.number }}
permissions:
issues: write
steps:
- name: Add needs-triage label
# Action recommended in https://docs.github.com/en/actions/managing-issues-and-pull-requests/adding-labels-to-issues
# Recommended to pin unofficial Actions to a specific commit SHA
uses: andymckay/labeler@3a4296e9dcdf9576b0456050db78cfd34853f260
with:
add-labels: "needs-triage"
repo-token: ${{ secrets.GITHUB_TOKEN }}