We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23cb006 commit f339d31Copy full SHA for f339d31
.github/workflows/pr-auto-assign.yml
@@ -18,8 +18,8 @@ jobs:
18
- name: Determine label based on branch prefix or author
19
id: label
20
run: |
21
- # Check if it's a Dependabot PR
22
- if [[ "${{ github.actor }}" == "dependabot[bot]" ]]; then
+ # Check if it's a Dependabot PR (using the PR author, not the workflow actor)
+ if [[ "${{ github.event.pull_request.user.login }}" == "dependabot[bot]" ]]; then
23
echo "label=dependencies" >> $GITHUB_OUTPUT
24
# Check branch prefixes
25
elif [[ "${{ github.head_ref }}" == feature/* ]] || [[ "${{ github.head_ref }}" == feat/* ]]; then
0 commit comments