Skip to content

Commit 07141e0

Browse files
authored
feat(ci/cd): Add GitHub Action for auto-assigning PRs (#783)
* feat(ci/cd): Add GitHub Action for auto-assigning PRs out of the recipes from https://github.com/actions-ecosystem/recipes this sounded very interesting. As we're sometimes forgetting to set ourselves as the assignee after opening a PR, this action would be very helpful. * Add SPDX license headers to auto-assign.yml Add SPDX license information to auto-assign workflow
1 parent 031fc41 commit 07141e0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/auto-assign.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
---
6+
name: Auto Assign
7+
8+
permissions:
9+
contents: read
10+
pull-requests: write
11+
12+
on:
13+
pull_request:
14+
types:
15+
- opened
16+
- reopened
17+
18+
jobs:
19+
add_labels:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions-ecosystem/action-add-assignees@v1
23+
with:
24+
github_token: ${{ secrets.GITHUB_TOKEN }}
25+
assignees: ${{ github.actor }}

0 commit comments

Comments
 (0)