Skip to content

Commit

Permalink
opentelemetry-cpp project CI (#2071)
Browse files Browse the repository at this point in the history
  • Loading branch information
esigo authored Jul 10, 2023
1 parent 1111f34 commit 5561393
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/project_management_comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

name: Add comment
on:
issues:
types:
- labeled
jobs:
add-comment:
if: github.event.label.name == 'help wanted'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add comment
uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae
with:
issue-number: ${{ github.event.issue.number }}
body: |
This issue is available for anyone to work on. **Make sure to reference this issue in your pull request.**
:sparkles: Thank you for your contribution! :sparkles:
25 changes: 25 additions & 0 deletions .github/workflows/project_management_issue_open.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: OpenTelemetry-cpp project
on:
issues:
types:
- reopened
- opened
pull_request:
types:
- reopened
- opened
jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["needs-triage"]
})

0 comments on commit 5561393

Please sign in to comment.