Skip to content

Commit

Permalink
Merge pull request DSpace#2456 from tdonohue/skip_merge_commits_in_po…
Browse files Browse the repository at this point in the history
…rt_pr

[GitHub Actions] When porting a PR, skip any merge commits
  • Loading branch information
tdonohue authored Aug 23, 2023
2 parents fbb04a0 + 596006d commit 9b88da7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/port_merged_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
# Copy all labels from original PR to (newly created) port PR
# NOTE: The labels matching 'label_pattern' are automatically excluded
copy_labels_pattern: '.*'
# Skip any merge commits in the ported PR. This means only non-merge commits are cherry-picked to the new PR
merge_commits: 'skip'
# Use a personal access token (PAT) to create PR as 'dspace-bot' user.
# A PAT is required in order for the new PR to trigger its own actions (for CI checks)
github_token: ${{ secrets.PR_PORT_TOKEN }}

0 comments on commit 9b88da7

Please sign in to comment.