Skip to content

dapr/.github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

.github

Shared GitHub Actions workflows for the dapr organisation.

Shared workflows

Automerge and autoupdate (automerge.yaml)

Squash-merges PRs labelled automerge that have been approved by a maintainer. Also updates branches of PRs labelled automerge or autoupdate that have fallen behind their base branch.

# .github/workflows/dapr-bot-schedule.yml
on:
  schedule:
    - cron: '*/10 * * * *'
  workflow_dispatch:

jobs:
  automerge:
    uses: dapr/.github/.github/workflows/automerge.yaml@main
    with:
      maintainer-teams: maintainers,co-maintainers
    secrets:
      dapr_bot_token: ${{ secrets.DAPR_BOT_TOKEN }}

Prune stale (prune-stale.yaml)

Marks issues and PRs as stale after 90 days of inactivity and closes them after a further 7 days. The stale and close thresholds are configurable via inputs.

# .github/workflows/dapr-bot-schedule.yml
on:
  schedule:
    - cron: '*/10 * * * *'
  workflow_dispatch:

jobs:
  prune_stale:
    uses: dapr/.github/.github/workflows/prune-stale.yaml@main
    with:
      days-before-pr-stale: 30      # default: 90
      days-before-issue-stale: 30   # default: 90
      days-before-pr-close: 7       # default: 7
      days-before-issue-close: 7    # default: 7
    secrets:
      dapr_bot_token: ${{ secrets.DAPR_BOT_TOKEN }}

Backport (backport.yaml)

Backports merged PRs to release branches when a backport/release-* label is applied.

# .github/workflows/backport.yaml
on:
  pull_request_target:
    types:
      - closed
      - labeled

jobs:
  backport:
    uses: dapr/.github/.github/workflows/backport.yaml@main
    secrets:
      dapr_bot_token: ${{ secrets.DAPR_BOT_TOKEN }}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors