All Projects → z0al → dependent-issues

z0al / dependent-issues

Licence: MIT license
📦 A GitHub Action for marking issues as dependent on another

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to dependent-issues

label-actions
🤖 GitHub Action that performs certain tasks when issues, pull requests or discussions are labeled or unlabeled
Stars: ✭ 60 (-27.71%)
Mutual labels:  issues, label
release-changelog-builder-action
A GitHub action that builds your release notes / changelog fast, easy and exactly the way you want.
Stars: ✭ 515 (+520.48%)
Mutual labels:  issues, actions
action-release-label
🏷️ GitHub Action to output a semver update level from a pull request release label
Stars: ✭ 41 (-50.6%)
Mutual labels:  label, actions
zola-deploy-action
Github action for building a Zola site and deploying to Github Pages
Stars: ✭ 131 (+57.83%)
Mutual labels:  actions
node
npm's fork of nodejs/node, for sending PRs to update deps/npm
Stars: ✭ 30 (-63.86%)
Mutual labels:  actions
staticcheck-action
Staticcheck's official GitHub Action
Stars: ✭ 47 (-43.37%)
Mutual labels:  actions
blog
用issues写博客,记录点滴
Stars: ✭ 28 (-66.27%)
Mutual labels:  issues
py-lambda-action
A Github Action to deploy AWS Lambda functions written in Python with their dependencies in a separate layer.
Stars: ✭ 49 (-40.96%)
Mutual labels:  actions
svgo-action
Automatically run SVGO with GitHub Actions
Stars: ✭ 18 (-78.31%)
Mutual labels:  actions
ssh2actions
Connect to GitHub Actions VM via SSH for interactive debugging
Stars: ✭ 62 (-25.3%)
Mutual labels:  actions
pipes
Репозиторий, который сам считает сколько у него звёзд.
Stars: ✭ 25 (-69.88%)
Mutual labels:  actions
action-cats
A quick Github action which posts a cat gif on your PRs to reward you for pushing code!
Stars: ✭ 64 (-22.89%)
Mutual labels:  actions
action-junit-report
Reports junit test results as GitHub Pull Request Check
Stars: ✭ 103 (+24.1%)
Mutual labels:  actions
link-snitch
GitHub Action to scan your site for broken links so you can fix them 🔗
Stars: ✭ 50 (-39.76%)
Mutual labels:  actions
ts-depgraph
Generate a visually stunning dependency graph from your Angular or Typescript project
Stars: ✭ 24 (-71.08%)
Mutual labels:  dependency
branch-protection-bot
A bot tool to disable and re-enable "Include administrators" option in branch protection
Stars: ✭ 57 (-31.33%)
Mutual labels:  actions
sbt-hackling
Prototype of the Libling concept. Libling is a way to add source dependencies to your sbt project.
Stars: ✭ 13 (-84.34%)
Mutual labels:  dependency
assign-one-project-github-action
Automatically add an issue or pull request to specific GitHub Project(s) when you create and/or label them.
Stars: ✭ 140 (+68.67%)
Mutual labels:  actions
xray-action
... a GitHub action to import test results into "Xray" - A complete Test Management tool for Jira.
Stars: ✭ 16 (-80.72%)
Mutual labels:  actions
gh-action-community
GitHub Action for the Community, from welcoming first timers to badges
Stars: ✭ 24 (-71.08%)
Mutual labels:  actions

Dependent Issues

A GitHub Action for marking issues as dependent on another

It works with PRs and issues and supports cross-repository dependencies.

Usage

Create .github/workflows/dependent-issues.yml with the following content:

name: Dependent Issues

on:
  issues:
    types:
      - opened
      - edited
      - closed
      - reopened
  pull_request_target:
    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/dependent-issues@v1
        env:
          # (Required) The token to use to make API calls to GitHub.
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          # (Optional) The token to use to make API calls to GitHub for remote repos.
          GITHUB_READ_TOKEN: ${{ secrets.GITHUB_READ_TOKEN }}

        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: off

          # (Optional) Ignore dependabot PRs.
          # Enable by setting the value to "on". Default "off"
          ignore_dependabot: off

          # (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 PR/issue depends on:

            {{ dependencies }}

            By **[Dependent Issues](https://github.com/z0al/dependent-issues)** (🤖). Happy coding!

Here how it can look like in practice:

example

Inputs

  • label (Optional): The label to use to mark dependent issues. Default dependent.
  • check_issues (Optional): Enable checking for dependencies in issues. Enable by setting the value to on. Default off.
  • ignore_dependabot (Optional): Ignore dependabot PRs. Enable by setting the value to on. Default off. Use this if you run the action on pull_request rather than pull_request_target.
  • keywords (Optional): A comma-separated list of keywords. Default depends on, blocked by.
  • comment (Optional): A custom comment body. It supports {{ dependencies }} token.

Environment variables

  • GITHUB_TOKEN (Required): The token to use to make API calls to GitHub.

FAQ

Trouble setting up the action? Check the FAQ.

Credits

Special thanks to Jason Etcovitch for the original bot idea.

License

MIT © Ahmed T. Ali

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].