Dependent Issues #435
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright 2023 ABSA Group Limited | |
# | |
# 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: Dependent Issues | |
on: | |
issues: | |
types: | |
- opened | |
- edited | |
- closed | |
- reopened | |
pull_request: | |
types: | |
- opened | |
- edited | |
- closed | |
- reopened | |
# Makes sure we always add status check for PRs. Useful only if | |
# this action is required to pass before merging. Otherwise, it | |
# can be removed. | |
- synchronize | |
# Schedule a daily check. Useful if you reference cross-repository | |
# issues or pull requests. Otherwise, it can be removed. | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: z0al/[email protected] | |
env: | |
# (Required) The token to use to make API calls to GitHub. | |
GITHUB_TOKEN: ${{ secrets.PAT_REPO_PROJECT_DISCUSS }} | |
# (Optional) The token to use to make API calls to GitHub for remote repos. | |
GITHUB_READ_TOKEN: ${{ secrets.PAT_REPO_PROJECT_DISCUSS }} | |
with: | |
# (Optional) The label to use to mark dependent issues | |
label: dependent | |
# (Optional) Enable checking for dependencies in issues. | |
# Enable by setting the value to "on". Default "off" | |
check_issues: on | |
# (Optional) Ignore dependabot PRs. | |
# Enable by setting the value to "on". Default "off" | |
ignore_dependabot: on | |
# (Optional) A comma-separated list of keywords. Default | |
# "depends on, blocked by" | |
# keywords: depends on, blocked by | |
# (Optional) A custom comment body. It supports `{{ dependencies }}` token. | |
comment: > | |
This item depends on: | |
{{ dependencies }} | |
By **[Dependent Issues](https://github.com/z0al/dependent-issues)**. |