Skip to content

Commit 956bfd3

Browse files
authored
Fix backport workflow to exclude release notes and eng/common files (#19019)
1 parent afaf167 commit 956bfd3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/backport.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@ jobs:
1717
if: ${{ contains(github.event.comment.body, '/backport to') || github.event_name == 'schedule' }}
1818
uses: dotnet/arcade/.github/workflows/backport-base.yml@main
1919
with:
20+
additional_git_am_switches: '--exclude=docs/release-notes/* --exclude=eng/common/* --whitespace=fix'
2021
pr_description_template: |
2122
Backport of #%source_pr_number% to %target_branch%
2223
2324
/cc %cc_users%
2425
26+
**Note:** Release notes and `eng/common` files are excluded from this backport. If release notes are needed, they should be added manually to the appropriate version file for this branch.
27+
2528
## Customer Impact
2629
2730
## Testing

0 commit comments

Comments
 (0)