-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(backport): remove v from branch prefix
- Loading branch information
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,9 @@ on: | |
types: ['labeled', 'closed'] | ||
|
||
env: | ||
BACKPORT_LABEL_PREFIX: backport-to-v | ||
# The prefix of the label that triggers the backport must not contain the branch name | ||
# so, for example, if the branch is 'master', the label should be 'backport-to-<branch>' | ||
BACKPORT_LABEL_PREFIX: backport-to- | ||
BACKPORT_LABEL_IGNORE: was-backported | ||
|
||
jobs: | ||
|
@@ -25,16 +27,16 @@ jobs: | |
with: | ||
allow_failure: true | ||
prefix_mode: true | ||
one_of: ${{ env.BACKPORT_LABEL_PREFIX}} | ||
none_of: ${{ env.BACKPORT_LABEL_IGNORE}} | ||
one_of: ${{ env.BACKPORT_LABEL_PREFIX }} | ||
none_of: ${{ env.BACKPORT_LABEL_IGNORE }} | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Backport Action | ||
if: steps.preview_label_check.outputs.label_check == 'success' | ||
uses: sorenlouv/[email protected] | ||
with: | ||
github_token: ${{ secrets.PROWLER_BOT_ACCESS_TOKEN }} | ||
auto_backport_label_prefix: ${{ env.BACKPORT_LABEL_PREFIX}} | ||
auto_backport_label_prefix: ${{ env.BACKPORT_LABEL_PREFIX }} | ||
|
||
- name: Info log | ||
if: ${{ success() && steps.preview_label_check.outputs.label_check == 'success' }} | ||
|