Skip to content

Commit

Permalink
Add GH projects automation (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
adejanovski authored Nov 16, 2022
1 parent 1f944e5 commit 00ffbdd
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/add_to_project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright 2022 DataStax, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Add issues to GH project

on:
issues:
types:
- opened

jobs:
add-to-project:
name: Add issue to GH project
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/k8ssandra/projects/8
github-token: ${{ secrets.GH_PROJECTS_TOKEN }}
27 changes: 27 additions & 0 deletions .github/workflows/check_pr_linked_issue.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2022 DataStax, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
on:
pull_request_target:
types: [opened, edited, reopened, synchronize]

jobs:
check_pull_requests:
runs-on: ubuntu-latest
name: Check linked issues
steps:
- uses: nearform/github-action-check-linked-issues@v1
id: check-linked-issues
with:
exclude-branches: "dependabot/**"
comment: true

0 comments on commit 00ffbdd

Please sign in to comment.