Skip to content

Commit fa3a421

Browse files
authored
Adds the shared workflows (#1603)
Signed-off-by: Albert Callarisa <albert@diagrid.io>
1 parent 35cba49 commit fa3a421

File tree

4 files changed

+80
-55
lines changed

4 files changed

+80
-55
lines changed

.github/workflows/backport.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#
2+
# Copyright 2026 The Dapr Authors
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
#
13+
14+
name: Backport
15+
on:
16+
pull_request_target:
17+
types:
18+
- closed
19+
- labeled
20+
21+
jobs:
22+
backport:
23+
uses: dapr/.github/.github/workflows/backport.yaml@main
24+
secrets:
25+
dapr_bot_token: ${{ secrets.DAPR_BOT_TOKEN }}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#
2+
# Copyright 2026 The Dapr Authors
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
#
13+
14+
name: dapr-bot-automerge
15+
16+
on:
17+
schedule:
18+
- cron: '*/10 * * * *'
19+
workflow_dispatch:
20+
jobs:
21+
automerge:
22+
uses: dapr/.github/.github/workflows/automerge.yaml@main
23+
with:
24+
maintainer-teams: maintainers-cli
25+
secrets:
26+
dapr_bot_token: ${{ secrets.DAPR_BOT_TOKEN }}

.github/workflows/dapr-bot-schedule.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#
2+
# Copyright 2026 The Dapr Authors
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
#
13+
14+
name: dapr-bot-stale
15+
16+
on:
17+
schedule:
18+
- cron: '*/10 * * * *'
19+
workflow_dispatch:
20+
jobs:
21+
prune_stale:
22+
uses: dapr/.github/.github/workflows/prune-stale.yaml@main
23+
with:
24+
days-before-pr-stale: 30 # default: 90
25+
days-before-issue-stale: 30 # default: 90
26+
days-before-pr-close: 7 # default: 7
27+
days-before-issue-close: 7 # default: 7
28+
secrets:
29+
dapr_bot_token: ${{ secrets.DAPR_BOT_TOKEN }}

0 commit comments

Comments
 (0)